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_".
Depending on how much activity is taking place, read: number of workflows being created/ updated, one may also be experiencing an issue with "Unable to obtain DomSession XXX" error appearing in the stdlogs.
One may consider inserting a code delay prior to logout of the given web service session of about 10 seconds to allow for the session domsrvr objects time to recover and complete activity. Additionally, one may consider introducing NX_SESSION_OBJECT_DELETE_DELAY value set to 270 in the NX.env
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">