How to call external APIs from Servicenow Order management

Gargichatterjee
Tera Contributor

In my usecase, I have configured the product catalog. After decomposition, all the CFSs and RFSs are available in Order details. Now from the RFSs/Order management, I want to initiate an workflow so that third party APIs can be called. How can I do that?

11 REPLIES 11

molayd
Mega Guru

Hi Gargi,

 

Now you have to configure order fulfilment policy tables like Product Order Fulfilment Policy, Service Order Fulfilment Policy & Resource Order Fulfilment Policy to map specifications to sub-flows. Nonetheless to mention, you should implement sub-flows before that. Each sub-flow represents fulfilment workflow/ orchestration plan for individual spec or spec category.

 

In sub-flow you can take advantage for NOW platform capability to define actions and SOAP/REST steps which enable you to call third party APIs.

 

Hope this helps.

 

Thanks,

Molay 

Hi Molay,

Thanks for your response. Can you please explain how can I integrate the Catalog with Flow designer, as in the catalog, we are configuring the RFSs there, and we want to call the APIs when those RFSs are going to be executed. I understand that the REST calls to be made through Flow Designer, but how the control will be going from the catalog to the Flow designer that something I am looking for.

 

Thanks.

 

Gargi,

 

Do you have any demo OMT data loaded on your instance? If so, please refer to Resource Order Fulfilment Policy decision table as shown below. 

 

molayd_0-1700472957742.png

 

BTW, how are you configuring RFSSpecs alone in the catalog? Either you need to submit customer (product) order/TMF622 or service order/TMF641 to trigger orders & sub flows for underlying RFSSpecs.

 

If my answer is helpful for your question, then kindly mark this as helpful and mark my answer as solution.

 

Thanks,

Molay

Hi,

I have not configured the RFS alone. The product hierarchy has been created. On submitting the order, after the approval from Order fulfilment Manager, the catalog decomposition is happening and corresponding order line items and order tasks are getting generated. I am not able to execute the order tasks automatically. The statuses of the order tasks need to be changed manually. What my requirement is, the order tasks should be executed sequentially based on the orchestration plan. To execute automatically meaning, I want to attach some flows to it, so that the external APIs can be called from those flows. But the challenge is how to call the flow?