Validates record has valid state (for deletion)
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 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: BooleanWhether record state is valid (for deletion)
See Also