Initiate¶
Initiates a new instance using the specified arguments.
1 | |
Parameters¶
( string | Xml ) inputData
The input data to pass to the new workflow instance, as an XML string or XML object.
string process optional
Specifies the process of the new instance. Can be the name or ID of the process. If not specified, the current process is used.
InitiateOptions options optional
Specifies the options for the new instance.
Returns¶
The first work item of the initiated workflow in the Created or Waiting state.
Remarks¶
Basic Usage¶
1 2 | |
Initiate by Task Name¶
1 2 3 4 | |
Initiate with User and Culture¶
1 2 3 4 5 6 7 | |