ValidationHelperIsRecordValid Method

Scanjour Workflow4 Reference Manual
Validates whether main record and attachment records are valid

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_21.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_21.3.0.0.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax

public static bool IsRecordValid(
	ActivityContext context,
	List<string> recordIds,
	out string errorMessage
)

Parameters

context
Type: System.ActivitiesActivityContext
Activity context
recordIds
Type: System.Collections.GenericListString
List of record ids
errorMessage
Type: SystemString
Message in case of error

Return Value

Type: Boolean
Returns true if the records exist and have valid state, otherwise false
See Also

Reference