I'm creating workflow tasks via web services. There is an existing block of tasks within a Group Start task and a Group End block. The existing tasks in the block are all in "Pending" status.
I receive different results, depending on the method used to create a new workflow task within the group:
I need the new group tasks to be created with "Pending" status, so that the approvers can validate them without waiting for the previous tasks to be approved.
Release : 17.1, 17.2
Component : SERVICE DESK MANAGER
Set the value of "selectedWorkFlow" in the call to createWorkFlowTask. For example, set the value to "PREVIOUS_TASK_".
Here is some sample XML that has been used with the SoapUI tool:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<soapenv:Header/>
<soapenv:Body>
<ser:createWorkFlowTask>
<sid>1468054208</sid>
<attrVals>
<string>sequence</string>
<string>40</string>
</attrVals>
<objectHandle>cr:400507</objectHandle>
<creatorHandle>cnt:378D4881DA6F0F4FA49C78BE2AC19786</creatorHandle>
<selectedWorkFlow>PREVIOUS_TASK_</selectedWorkFlow>
<taskType>APP</taskType>
<attributes>
</attributes>
<createWorkFlowTaskResult></createWorkFlowTaskResult>
<newHandle></newHandle>
</ser:createWorkFlowTask>
</soapenv:Body>
</soapenv:Envelope>