When adding a complex script to a workflow activity, use debug mode to develop the script by modifying the script and retrying it without starting the workflow from the beginning.
Before You Begin
Review how to debug workflows in Debugging Workflows.
Procedure
-
Set a breakpoint on the activity where you are adding the script.
-
On the top right corner of the workflow editor, click DEBUG to start stepping through the workflow activities.
-
When the breakpoint on the activity is reached, add your script to the activity.
-
To test the script, click RETRY.
-
Continue to modify and retry the script as needed.
-
Optional: Test the interaction of prior activities with the script without restarting the workflow with new inputs. Select any activity prior to the script activity and click Set Activity to start stepping through the workflow at the selected activity.
-
To exit debug mode, click STOP.