Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to call and execute existing REST Message/HTTP Method from Script Action Step in Flow Designer?

Aki18
Tera Contributor

I created a REST Message and its HTTP Method (POST) and confirmed it properly worked using "Test" related link.

What I would like to do is to call it from "Script" Action Step in Flow Designer and execute the POST action using Input values of the Flow.

Could someone please give me the sample script to achieve this?

 

Best Regards,

Aki

1 REPLY 1

Mike_R
Kilo Patron
Kilo Patron

This is a good tutorial. https://www.youtube.com/watch?v=RMz_hYZXppc

 

You'll need to create a custom action with either a script or rest message step.