ValidationHelperCanOriginalRecordBeDeleted Method

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

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static bool CanOriginalRecordBeDeleted(
	ActivityContext context,
	string recordId,
	out string error
)

Parameters

context  ActivityContext
Activity context
recordId  String
Record id
error  String
Error message

Return Value

Boolean
Whether record can be deleted

See Also