# Sending Scripts into the Workflow in the Command Center

During debug mode, you can send scripts into the workflow when the debugger reaches a breakpoint. For example, use the Script tab to send an OnStart script into an activity to test changes to the script without modifying the script in the OnStart Script tab.

## Before You Begin

- Review how to debug workflows in Debugging Workflows.

- Set breakpoints in the workflow.

## Procedure

1. In the workflow editor, click DEBUG to start stepping through the workflow activities.

2. When the debugger reaches a breakpoint, click IMMEDIATE.

   The Immediate dialog box appears.

3. On the Code tab, enter your script.

4. Click EXECUTE to send the script into the workflow.

5. To exit debug mode, click STOP.

×

Loading...