On transitioning status to custom status we get an error we receive when trying to change status to a custom value i.e. from 1000 to 1400:
"soapenv:Server.generalException
Exception occurred in assingPendingAction: Exception=Invalid combination of pending action type and request item status.
com.ca.usm.soap.axisInterfaces.WebServiceException"
Exception with Invalid combination of pending action type and request item status
To correct this error message update the below value in the web method call i.e.
<pendingActionType xsi:type="xsd:int">1</pendingActionType>
to
<pendingActionType xsi:type="xsd:int">2</pendingActionType>
sample web method input below:
=========================
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.soap.usm.ca.com"> <soapenv:Header/>
<soapenv:Body> <ser:assignPendingAction soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<sessionID xsi:type="xsd:string">f85441e8-fd93-4f70-8f10-e2dc121701c7</sessionID>
<pendingActionType xsi:type="xsd:int">2</pendingActionType>
<requestItemID xsi:type="xsd:int">11024</requestItemID>
<requestItemStatus xsi:type="xsd:int">1400</requestItemStatus>
<pendingActionUsersOrGroups xsi:type="xsd:string">PA_MOSL</pendingActionUsersOrGroups>
<pendingActionDescriptions xsi:type="xsd:string"></pendingActionDescriptions>
<workItemID xsi:type="xsd:string"></workItemID>
<processInstanceID xsi:type="xsd:string">
</processInstanceID>
</ser:assignPendingAction>
</soapenv:Body>
</soapenv:Envelope>