ValidationHelper.IsRecordValid Method

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

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.3.0.0.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax

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

Parameters

context
Type: System.Activities.ActivityContext
Activity context
recordIds
Type: System.Collections.Generic.List<String>
List of record ids
errorMessage
Type: System.String
Message in case of error

Return Value

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

Reference