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.

Fetch subflow input and flow variable in script

FarukhKhan1
Tera Contributor

I am trying to write a logic with the Subflow input and flow variables. But dont know the object name and the syntax to fetch it in the script.

 

In flow designer, we use fd_data, I am looking for the same kind of object for subflow which I can use for fetching the value of IP and Adbor_Id.

 

FarukhKhan1_1-1712165799689.png

Regards,

Farukh

 

3 REPLIES 3

luffy3478
Tera Guru

custom script is a custom action that you created? 

Yes, but this question is generic one. If we need to add an inline script for any activity under a subflow, how to do that?

 

in below scenario, I am trying to add an inline script for adding logic to set the adbor_id based on input and other flow variable. Please help me out with the syntax that can do this.

 

FarukhKhan1_0-1712199799410.png

 

luffy3478_0-1712238006391.png

This is my sub flow and it is working fine