ValidationHelperIsRecordValid Method

Validates whether main record and attachment records are valid

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static bool IsRecordValid(
	ActivityContext context,
	List<string> recordIds,
	out string errorMessage
)

Parameters

context  ActivityContext
Activity context
recordIds  ListString
List of record ids
errorMessage  String
Message in case of error

Return Value

Boolean
Returns true if the records exist and have valid state, otherwise false

See Also