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_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 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