- Wrapping the script with a function - i created function alertTest which takes one argument alertText
The function returns a structure that contains all exit variable - my structure is just string myText
- Preparing the inputs - i made input trigger called the same as my argument in function alertTest
- Calling the function -flow from my function to <Script Text> trigger
- Extracting exit values from returned text. - I made an exit trigger called myText
As you can see in debugging mode, the script is starting, but not executing/not returning value.
For best results, use the Firefox browser..