ValidationHelperValidateRecordState Method

Scanjour Workflow4 Reference Manual
Validates record has valid state (for deletion)

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

public static bool ValidateRecordState(
	ActivityContext context,
	string recordState,
	string recordId,
	out string error
)

Parameters

context
Type: System.ActivitiesActivityContext
Activity context
recordState
Type: SystemString
Record state to validate
recordId
Type: SystemString
Record id
error
Type: SystemString
Error message

Return Value

Type: Boolean
Whether record state is valid (for deletion)
See Also

Reference