How do you use a script include in Flow Designer

JohnM2
Kilo Contributor

Hey everyone,

I am currently trying to call a script include in a script action as part of my flow.  However, when I do this using the 

var foo = new ScriptInclude();

It gives me an error saying that the "ScriptInclude" is not defined.  Is there a special way of using a script include in flow?  Any advice is awesome.

Thank you,

John

12 REPLIES 12

JohnM2
Kilo Contributor

So this flow is in the same scope as the script include however when I call just the script include it says it's undefined, now that I added the scope before it says that the scope is undefined. I never have this issue in workflow and this is the first time working in flow designer like this.

Can you post a screenshot from the flow designer?

 

Thanks

Harshad

can you post the screenshot of the flow step and the script include 

Thanks

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022

JohnM2
Kilo Contributor

find_real_file.png

 

find_real_file.png

 

The top is a snip of the code from the script step and the bottom is error in flow

can you post the screenshot of the script include top section

 

Thank you

Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Vinod Kumar Kachineni
Community Rising Star 2022