Task Engine 10.11 | Task Engine Webhelp | webMethods Task Engine API and Service Reference | Using the Task Engine Web Service API | voteTask
 
voteTask
Registers a single user vote for the specified task status of the task instance with the specified taskID. The status of the task does not change until the number of individual votes reaches a predefined threshold.
Input
taskID
String The ID that identifies the task instance for which you want to record a vote.
status
String The task status for which you want to record a vote.
user
String Optional. The user ID of the My webMethods Server user on whose behalf this operation executes.
Output
None.
Usage Notes
If user is not specified, the administrative user ID under which your client program logged in is used.
The user ID in user must have permission to vote for the specified task. If the supplied ID does not have access and vote permissions for the task, or if the specified task does not exist, an exception is thrown.