Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WorkItem $Domain.Initiate(inputData: any, process: string)

...

WorkItem $Domain.Initiate(inputData: ( string | XmlNode Xml ), process: string, options: InitiateOptions)

Arguments

any inputData
string process
( string | XmlNode Xml ) inputData
to pass initiated processSpecifies the input data of new instance. Can be specified as xml string or Xml | xml node.
string process
name
of initiateSpecifies the process of new instance. Can be Name or Id number of process. If not specified current process is used.
Specifies the options of new instance.

Types

InitiateOptions

{ // Culture of new instance. If not specified uses the current instance culture. Culture : string // Identity of initiator. If not specified null value used. Initiator : string // Parent work item. If not specified current work item is set as parent. Parent : string // Name or Id of task to be initiated. If not specified, uses the Initiator task if found only one exist, otherwise throws error. Task : string // Specifies the initiate in test mode or not. If not specified uses the current instance's test mode state. TestMode : boolean // Version of process to initiate Version : string }

See Also