AnsweredAssumed Answered

Help on using createWorkflowTask in PAM

Question asked by GregBunce on Apr 7, 2015
Latest reply on Jul 10, 2015 by samatar.yacin

Can someone assist me with what I need to do to create a classic workflow approval task in SDM from a PAM workflow? I assume it's the createWorkflowTask routine, but I can't determine how to fill out the SOAP call to make that happen.

What I have tried is below, but does not succeed.

 

<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>243847632</sid>

         <attrVals>

   <string>chg</string>

   <string>567701</string>

   <string>taskType</string>

   <string>APP</string>

   <string>sequence</string>

   <string>100</string>

         </attrVals>

         <objectHandle>chg:567701</objectHandle>

         <creatorHandle>cnt:9C79C7E60FAA5E489CA6442933BEEA55</creatorHandle>

         <selectedWorkFlow>APP</selectedWorkFlow>

         <taskType>APP</taskType>

         <attributes>

            <!--1 or more repetitions:-->

            <string>results</string>

         </attributes>

         <createWorkFlowTaskResult>-1</createWorkFlowTaskResult>

         <newHandle>-1</newHandle>

      </ser:createWorkFlowTask>

   </soapenv:Body>

</soapenv:Envelope>

Outcomes