ActivityFunctionsGetLastTaskIdForProcess Method (ActivityContext, String)

Scanjour Workflow4 Reference Manual
Returns the last taskId for a process.

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.1.0.0.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static string GetLastTaskIdForProcess(
	ActivityContext context,
	string instanceId
)

Parameters

context
Type: System.ActivitiesActivityContext
The activity context.
instanceId
Type: SystemString
The instance id.

Return Value

Type: String
TaskId for latest user task on workflow where IsNotification = 'N' or empty string if no such found.
See Also

Reference