Create or update a TaskStatus entry in WzpUserTask
Namespace: Scanjour.Workflow4.ActivityLibrary.UserTasks
Assembly: Scanjour.Workflow4.ActivityLibrary_23.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.3.0.0.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax
public static string CreateOrUpdateTaskStatus( ActivityContext context, string identity, UserTaskActorType actorType, Contact actor, DateTime dueDate, TaskSchedule schedule, TaskState taskState, string taskAction, InfoEnum info, string[] arguments, string taskError, bool show, int displayOrder )
Parameters
- context
- Type: System.ActivitiesActivityContext
The execution context. - identity
- Type: SystemString
The identity of the task status (if update) or null (create) - actorType
- Type: Scanjour.Workflow4.BaseUserTaskActorType
The actor type - actor
- Type: Contact
The actor - dueDate
- Type: SystemDateTime
The deadline - schedule
- Type: Scanjour.Workflow4.BaseTaskSchedule
The task schedule - taskState
- Type: Scanjour.Workflow4.BaseTaskState
The task state - taskAction
- Type: SystemString
The task action - info
- Type: Scanjour.Workflow4.BaseInfoEnum
The info message enumerate - arguments
- Type: SystemString
The arguments for the info message - taskError
- Type: SystemString
The task error - show
- Type: SystemBoolean
True if the user task is to be shown in the log - displayOrder
- Type: SystemInt32
The display order
Return Value
Type: StringThe identity
See Also