ValidationHelperCanOriginalRecordBeDeleted Method

Scanjour Workflow4 Reference Manual
Validates whether original record can be deleted, checks for valid record state, and that record is not an appendix, or referenced from other records

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 CanOriginalRecordBeDeleted(
	ActivityContext context,
	string recordId,
	out string error
)

Parameters

context
Type: System.ActivitiesActivityContext
Activity context
recordId
Type: SystemString
Record id
error
Type: SystemString
Error message

Return Value

Type: Boolean
Whether record can be deleted
See Also

Reference