ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to change status to custom status using web service methods


Article ID: 8073


Updated On:


CA Service Catalog CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager


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:


Exception occurred in assingPendingAction: Exception=Invalid combination of pending action type and request item status."


Exception with Invalid combination of pending action type and request item status


CA Service Catalog 14.1Web Services


To correct this error message update the below value in the web method call i.e. 

<pendingActionType xsi:type="xsd:int">1</pendingActionType> 


<pendingActionType xsi:type="xsd:int">2</pendingActionType>

sample web method input below:


<soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:ser=""> <soapenv:Header/> 

<soapenv:Body> <ser:assignPendingAction soapenv:encodingStyle=""> 
<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">