I need method to update Request\Service from external source using Web Service
If you log in to Service Catalog, go to the Administration tab, select Tools from the top menu, select Links from the left side menu,then select Web Services API from the Documentation table, you will see all the Web Services and Methods.
From the Web Services API doc select 'Request Web Service' and take a look at updateRequestItemStatus method.
I am using this method (updateRequestItemStatus), but it fails.
What value I need use in pendingType parameter?
What does it mean?
May I need configure something before?
If you are updating the status to something before what is defined in Catalog > Configuration > Request Management Configuration > Allow Discrete Handling of Service Options After, then you will want to use '1' which updates on the service level. If the status will be in the range where discrete handling is enabled, you will want to use '2' which updates on the service option level.
So, what option I need chose for Allow Discrete Handling of Service Options After to be able change Request status to Approve or Reject using updateRequestItemStatus method?
The same question about Allow Discrete Request Life Cycle After option
By default 'Allow Discrete Handling of Service Options After' is set to 'Pending Fulfillment', which means during the approval phase you approve/reject for each service in the request however fulfillment will be for each service option. With this configuration, if I have a request in 'Pending Approval' status I can update the status to 'Approval Done' (999) and Catalog will then automatically update the status to 'Pending Fulfillment' via the following in soapUI:
requestItemID you can get from the output getRequestItems method:
or from usm_subscription_detail.id:
select * from usm_subscription_detail where request_id=10020
You can also take a look at the following for more information on discrete handling:
Discrete Request Life Cycle Parameters - CA Service Management - 14.1 - CA Technologies Documentation
Your information really helps me.
I have next scenario:
- Open Catalog Service Request
- Request in Pending Approval status waits for update
- External tool (by updateRequestItemStatus method using Web Service) update above Catalog Request with Approval (800) or Reject (600) status depending on situation
- Then if status Approval I open SDM ticket by Event-Action-Rule
- Then when SDM ticket will close Catalog Request will close too.
Is the process is correct and effective?
For this scenario how to set 'Allow Discrete Handling of Service Options After'?
Would love your assistance
This is essentially the same lifecycle as the out of the box Catalog/Service Desk integration. The followingmight be helpful:
Step 3 - Open Change Orders During Request Fulfillment - CA Service Management - 14.1 - CA Technologies Documentation
I know this process and I use integration to open the SDM REQUEST.
Again, according to my script which parameter to set for 'Allow Discrete Handling of Service Options After'?
Retrieving data ...