TaskInfoCreateOrUpdateTaskStatus(ActivityContext, String, UserTaskActorType, Contact, DateTime, TaskSchedule, TaskState, String, InfoEnum, String, String, Boolean, Int32) Method |
Create or update a TaskStatus entry in WzpUserTask
Namespace: Scanjour.Workflow4.ActivityLibrary.UserTasksAssembly: Scanjour.Workflow4.ActivityLibrary_24.5.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.5.0.0.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic 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
)
Public Shared Function CreateOrUpdateTaskStatus (
context As ActivityContext,
identity As String,
actorType As UserTaskActorType,
actor As Contact,
dueDate As DateTime,
schedule As TaskSchedule,
taskState As TaskState,
taskAction As String,
info As InfoEnum,
arguments As String(),
taskError As String,
show As Boolean,
displayOrder As Integer
) As String
public:
static String^ CreateOrUpdateTaskStatus(
ActivityContext^ context,
String^ identity,
UserTaskActorType actorType,
Contact^ actor,
DateTime dueDate,
TaskSchedule schedule,
TaskState taskState,
String^ taskAction,
InfoEnum info,
array<String^>^ arguments,
String^ taskError,
bool show,
int displayOrder
)
static member CreateOrUpdateTaskStatus :
context : ActivityContext *
identity : string *
actorType : UserTaskActorType *
actor : Contact *
dueDate : DateTime *
schedule : TaskSchedule *
taskState : TaskState *
taskAction : string *
info : InfoEnum *
arguments : string[] *
taskError : string *
show : bool *
displayOrder : int -> string
Parameters
- context ActivityContext
- The execution context.
- identity String
- The identity of the task status (if update) or null (create)
- actorType UserTaskActorType
- The actor type
- actor Contact
- The actor
- dueDate DateTime
- The deadline
- schedule TaskSchedule
- The task schedule
- taskState TaskState
- The task state
- taskAction String
- The task action
- info InfoEnum
- The info message enumerate
- arguments String
- The arguments for the info message
- taskError String
- The task error
- show Boolean
- True if the user task is to be shown in the log
- displayOrder Int32
- The display order
Return Value
StringThe identity
See Also