ValidationHelperIsRecordValid Method
Validates whether main record and attachment records are valid
Namespace: Scanjour.Workflow4.ActivityLibraryAssembly: 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)
public static bool IsRecordValid(
ActivityContext context,
List<string> recordIds,
out string errorMessage
)
Public Shared Function IsRecordValid (
context As ActivityContext,
recordIds As List(Of String),
<OutAttribute> ByRef errorMessage As String
) As Boolean
public:
static bool IsRecordValid(
ActivityContext^ context,
List<String^>^ recordIds,
[OutAttribute] String^% errorMessage
)
static member IsRecordValid :
context : ActivityContext *
recordIds : List<string> *
errorMessage : string byref -> bool
- context ActivityContext
- Activity context
- recordIds ListString
- List of record ids
- errorMessage String
- Message in case of error
BooleanReturns true if the records exist and have valid state, otherwise false