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.

Is there any way to utilize scripting in a subflow ?

Gopi22
Tera Guru

Hi Everyone, 

 

I am interested to know if there is any way to utilize scripting in subflow without using a custom action for the same. What I need to do is, through scripting, return a value, and utilize that value across the subflow by accessing it through data pill. I am looking for a way to do this without using a custom action.

 

Any pointers will be helpful. 

 

Thanks,

Gopikrishnan

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Gopi22 

you can use flow variable which is a global variable available everywhere in that subflow

Then you can utilize it at any place.

What did you start with and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thank you @Ankur Bawiskar . I was able to proceed as mentioned above.

@Gopi22 

Glad to know.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader