Operation: bpm::autoTaskRun


General Description

Invoke this operation to execute an autoTask process.

Operation Notes

System Privileges Mail Privileges Calendar Privileges Database Privileges
sys.a.canSpawnProcess -- -- db.[default_db].h_buz_icons.browse
db.[default_db].h_bpm_processes.browse
db.[default_db].h_bpm_processes.update
db.[default_db].h_bpm_instance.add
db.[default_db].h_bpm_instance.update

Request Message

Input Parameters

The autoTaskRun method takes the following input parameters. It is important to note that the parameters must be passed to the operation in the same order as they appear here in order to satisfy the requirement of the input validation checks.

Name Type Attributes Description
application appNameType optional Specify the name of the application this autoTask relates to. If not specified then "system" is assumed.
name xs:string required once The name of the autoTasl to run.
reference xs:anyURI optional An application defined reference, such as a URN to an entity or any other application-definable meaningful (to the application running the autoTask) reference.
inputParam inputParameterType optional
minOccurs=0
maxOccurs=Unbounded
The input parameters of the autoTask.

Input Data


Response Message

Output Parameters

Name Type Attributes Description
autoTaskId xs:string required once The unique identifier of the autoTask.
version xs:unsignedInt required once The version of the autoTask that was spawned.
state bpmStateType required once This can be InProgress, Succeeded or Failed.
failureMessage xs:string optional The error message in the case of an autoTask runtime failure.

Output Data


Code Generation & Samples

The links below will generate sample code in the respective languages. You can use these links as a convenient way of generating the correct code needed to invoke this method

JavaScript   PHP   C#   Java   C++   [ hide code ]  

Powered by Hornbill, for more information click here. (page served by , .)