OpenCaseScopeLockCase Method

Locks the case with with process instance.

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 LockCase(
	Uri uri,
	string caseId,
	Guid instanceId,
	string updateUserUsedForLocking = "SJPROCESSUSER",
	OpenCaseScopeLockType lockType = OpenCaseScopeLockType.Instance,
	Action<string> logger = null
)

Parameters

uri  Uri
The URI.
caseId  String
The case identifier.
instanceId  Guid
The instance identifier.
updateUserUsedForLocking  String  (Optional)
The update user used for locking.
lockType  OpenCaseScopeLockType  (Optional)
Type of the lock.
logger  ActionString  (Optional)
The logger.

Return Value

Boolean

[Missing <returns> documentation for "M:Scanjour.Workflow4.ActivityLibrary.OpenCaseScope.LockCase(System.Uri,System.String,System.Guid,System.String,Scanjour.Workflow4.ActivityLibrary.OpenCaseScope.LockType,System.Action{System.String})"]

See Also