Cancellation of single specification order from a bundle order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2024 11:27 AM
Hi, I've placed a bundle order (via TMF-645 API) consisting of multiple CFS orders, and now need to cancel a single specification from this bundle. ServiceNow's cancel API would cancel the whole order, as it does not allow cancellation of single specification, the other option was to use PATCH request of TMF-641 API however there is no 'cancel' action defined for 'serviceOrderItem.action' parameter. Is there a way to cancel a single CFS from the the bundle order using API?
Thank you,
Kind Regards,
Ashwajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2024 03:21 AM
I think you have a few terms incorrect - this is a Order - so either Product ORder (TMF622) /Service ORder (TMF641) as opposed to service qualification (TMF645). (I know the TMF API numbers are confusing) I expect you mean you are placing an order with many line items, with each line item referencing a specification (PO/Product Spec or Service Spec). To cancel a subset of the order, use the PATCH api and one the line items to be cancelled, set the productOrderItem.revisionOperation to 'cancel'. here is the link to the docs page for the Product order API https://docs.servicenow.com/bundle/vancouver-api-reference/page/integrate/inbound-rest/concept/tmf62.... Similar logic can be applied for Service Orders.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2024 11:17 PM
Hi @Tom Schnarr , thank you for looking into this. Yes, I mentioned wrong TMF API, it is actually TMF-641. For the service order, revisionOperation is not available, and I'm unable to find any other option to cancel the single order line item from the service order
Thank You,
Kind Regards,
Ashwajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2024 11:49 PM
Hi @ashwajit_b , @Tom Schnarr
Let me jump into your discussion.
I have just read the TMF641 reference page here , and I found the explanation about "serviceOrderItem.action" instead of "productOrderItem.revisionOperation", and I also found the action types that can be used in Service Order here .
Then, there is an option named "Delete", and it looks be able to use for item cancelation for service order. ( I attached the capture as below.)
Is this the one that Tom mentioned and also you are looking for??
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2024 03:56 AM
Hi @aizawaken , we can use delete action to cease the order, and while using this action the Product Inventory is mandatory. However, for cancellations (cancellation while fulfillment is in progress) we may not have the product inventory details available at the point when cancellation request is received