Task Engine 10.7 | Task Engine Webhelp | webMethods Task Engine API and Service Reference | Using the Task Engine Web Service API | queueTask
 
queueTask
Adds a task instance to the Task Engine.
Input Message
taskData
Map Optional. The business data, if any, associated with this task. See TaskData for a description of the Map object used by taskData.
taskInfo
TaskInfo Optional. A complex structure that contains standard information about the task (for example, name, expiration date, list of users to which the task is assigned). See TaskInfo for a description of the fields in this object.
taskTypeID
String Specifies the type of task that you want to queue. Each task type that is deployed on the Task Engine has a unique ID. This ID is assigned by the developer when he or she creates a task application using Software AG Designer.
If you do not know the ID for the task type that you want to queue, contact the Task Engine administrator. An administrator can obtain a list of the task types by viewing the Task Configuration panel on the Task Engine Administration page in My webMethods.
Task type IDs are case-sensitive. The ID in taskTypeID must exactly match the ID as it is specified on the Task Engine.
user
String Optional. The user ID of the My webMethods Server user on whose behalf this operation executes.
If user is not specified, the user ID under which your client program logged on is used.
Output Message
taskID
String The identifier that the Task Engine assigns to the task.
Usage Notes
The user ID specified in user must have permission to queue tasks on the Task Engine. If the supplied ID does not have this permission, an exception is generated.