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.

Create custom actions in flow designers

Rajkumar Bommal
Tera Contributor

I want to Create a custom action in flow designer
In that custom action add a script action and call script include in it 

using this custom action in flow designer i want to create a problem record when incident record is created

 
2 ACCEPTED SOLUTIONS

@Rajkumar Bommal 

 

var scriptName = new <Script Include name>();
var storeValue = scriptName.<method name to execute>(<arguments>);

 

Please check above syntax to call script include in custom actions.

 

--

Thanks & Regards ,
Supriya Waghmode |ServiceNow Consultant

 

View solution in original post

@Rajkumar Bommal 

simply call it like this in normal way how you call from any server side

var value = new ScriptInclude().functionName();

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

View solution in original post

7 REPLIES 7

@Rajkumar Bommal do you want to share what you have tried till now.

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

@Rajkumar Bommal 

 

var scriptName = new <Script Include name>();
var storeValue = scriptName.<method name to execute>(<arguments>);

 

Please check above syntax to call script include in custom actions.

 

--

Thanks & Regards ,
Supriya Waghmode |ServiceNow Consultant

 

@Rajkumar Bommal 

simply call it like this in normal way how you call from any server side

var value = new ScriptInclude().functionName();

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