We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to send request to third party application after approval of request?

vimal11592
Tera Expert

up votedown votefavorite

Hi,

I am trying to call the third party application using script in service now workflow.When someone request a item from service now catalog It goes for approval to admin.Once admin approves the request incident status is approved.But before ending the workflow I want to run script to call some third party application API and do some task using script.

  • My first question is : is this possible to call third party app from workflow script?
  • Second Question : can someone please guide me how to call third party app if possible?

Thanks,

Vimal Mishra

6 REPLIES 6

veeresh3
Tera Expert

Hi,


If your using REST then, you have to first configure in outboud REST message module with end point URL.



Then try it.



Thanks,


Veeresh


Hi,



I have configured REST message module with end point URL.


But Now I am facing different issue.To integrate and use function I need to make to multiple Post call one is for authentication   and other is to trigger some function.


In first post call I get one token as a response that I need to use as a header in second post call.So can you please tell me how to do this?



That would be great help.



Thanks,


Vimal