ValidationHelperGetValidRecordOfficer Method

Scanjour Workflow4 Reference Manual
Validates whether the associated case handler of the letter (officer) has correct access to documents, and that he has valid employment

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.1.6.0 (in Scanjour.Workflow4.ActivityLibrary_19.1.6.0.dll) Version: 19.1.6.0 (19.1.6.0)
Syntax

public static EmployeeDomain GetValidRecordOfficer(
	ActivityContext context,
	string recordId,
	string[] attachmentRecordIds,
	out string error
)

Parameters

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

Return Value

Type: EmployeeDomain
Returns the officer if valid, otherwise returns null
See Also

Reference