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.

Flow Designer Actions missing

Jeffrey Barton
Tera Contributor

When I try to add a script action there isn't one.  How do I turn this on so I can use the advanced features and get extra data from different parts of the system?  The documentation is clear that I should have this option, I've logged in as the local admin and have the same result.  I've checked roles, etc. all based on documents and yet I can't find it.  Why won't script action show up for me?

2 ACCEPTED SOLUTIONS

-O-
Kilo Patron

There's two ways to script in Flows

  • inline scripts - totally not recommended, unreliable, prone to breading, hell to maintain - stay away.
  • Script step in custom Actions - do this.

It is different from Workflows.

View solution in original post

-O-
Kilo Patron

This is how you create custom Actions:

10.jpg

 

This is what you should stay away from:

11.jpg

 

By creating and using custom Actions you are respecting the Flow Designer paradigm where actions receive input by dropping data-pills on them and provide output in the form of their own data pills.

Here's an attempt to put it into a picture:

8.jpg

And this is how a custom action than consumes data from pills and provides its own data-pills to be used as inputs for other actions:

9.jpg

 

View solution in original post

2 REPLIES 2

-O-
Kilo Patron

There's two ways to script in Flows

  • inline scripts - totally not recommended, unreliable, prone to breading, hell to maintain - stay away.
  • Script step in custom Actions - do this.

It is different from Workflows.

-O-
Kilo Patron

This is how you create custom Actions:

10.jpg

 

This is what you should stay away from:

11.jpg

 

By creating and using custom Actions you are respecting the Flow Designer paradigm where actions receive input by dropping data-pills on them and provide output in the form of their own data pills.

Here's an attempt to put it into a picture:

8.jpg

And this is how a custom action than consumes data from pills and provides its own data-pills to be used as inputs for other actions:

9.jpg