Publication date: 07/08/2024

Workflow Steps

The Workflow Steps section collects your JMP steps. Steps are added while you are recording, when you select Save Script > To Workflow from a platform red triangle menu, when you move a step from the Log History, or when you add an action from the Step Settings. Hover on a step to view the JSL code for the step.

The recording of platform actions occurs when the platform is closed. When a platform is launched, a temporary Launch platform step is added to the workflow. This is an indicator that the recorder is active. Then, when you close the platform, the temporary step is removed and all of your actions are then recorded in a Report snapshot step.

Tip: To add a report step to a workflow that is not recording use the Save Script > Workflow option in the platform red triangle menu prior to closing the report.

Use the controls to start and stop workflow recording or to play the workflow.

Image shown here

Starts the workflow recording. Steps not recorded can be added to the workflow from the Log History, from the Enhanced Log, from the platform Save Script > to Workflow option, or pasted from the JSL saved to the clipboard.

Image shown here

Stops the workflow recording.

Image shown here

Resets the workflow. Closes all outputs created by the workflow, resets tables to their original states, and resets the workflow to the first step. Message windows are cleared but not closed.

Image shown here

Executes the current workflow.

Image shown here

Rewinds one step. This closes all outputs created by the current step, resets tables to their states at the previous step, and resets the workflow cursor to the previous step.

Image shown here

Executes the current step and moves the execution cursor to the next step.

Image shown here

Opens JMP Online Help.

Use additional controls to rearrange steps in the workflow. Alternatively, select a step and drag it to a new position.

Image shown here

Moves the selected step up one position.

Image shown here

Moves the selected step down one position.

Image shown here

Removes the current step from the workflow.

Each step in the workflow has one or more icons.

Image shown here

Indicates a step with an error. Highlight the row and open the Step Settings to view the JSL code for the step.

Image shown here

Indicates a step that executes without an error.

Image shown here

Indicates a step that generates a report or new table. Click to see a thumbnail of the report or table.

Image shown here

Indicates the current step.

Image shown here

Indicates a breakpoint. The workflow stops at this step. Click on the gray bar to the left of a step to set a breakpoint for debugging. Click on a breakpoint once to disable and click again to remove the breakpoint.

Image shown here

A check box that is enabled by the Show Enable Checkbox option in the Workflow Builder red triangle menu. Use to enable (check) or disable (uncheck) workflow steps.

Image shown here

Indicates a note for the step. Click to read. Set notes in the Step Settings section. Use to add comments to your workflow.

Image shown here

Indicates that a table or column reference changed during execution. Click to manage reference prompts. See Workflow Builder Reference Manager.

Image shown here

Indicates that the step was skipped due to an if/else statement.

Select one or more rows and use right-click options to group steps or as alternatives to using the controls.

Cut, Copy, Paste

Use to cut, copy, or paste workflow steps.

Group Selected

Groups selected steps in a group. Rename the group in the Step Settings.

Tip: Group steps in a group to organize long workflows.

Group with For Each

Groups selected steps in a group named For Each Item.

Add Empty Group

Adds an empty group to the workflow. Drag and drop steps into the group.

Ungroup

(Available when a group is selected.) Ungroups the grouped steps.

Step Enabled

Disables or enables the step in the workflow. Disabled steps are indicated by light italic text and are skipped when the workflow runs.

Tip: Use the Show Enable Checkbox option in the Workflow Builder red triangle menu to enable check boxes to manage disabled steps.

Rerecord Steps

Runs the workflow to rerecord steps. Use to identify and remove unnecessary steps. Unnecessary steps are crossed out and removed when you click Done in the Rerecord Steps controls.

Run to Step

Runs the workflow from the current position until the selected step is reached.

Run Selected

Runs the selected step or group of steps.

Set Next Step to Execute

Moves the execution cursor to the selected step to indicate that it is the next step to execute.

Set Breakpoint

Sets a breakpoint in the workflow. Use for testing a portion of your workflow.

Force Prompt for Table

(Available for Open commands.) Enables you to add a prompt to your workflow for the user to select a data table.

Edit

(Available only for Open commands.) Enables you to select a new data table to open and use in subsequent steps.

Hide Tables from Selected

Adds a hide tables step action to the selected steps. After the step runs, any tables created during that step are marked invisible. Use this to hide intermediate tables that do not need to be seen, but cannot be closed because reports or other tables depend on them.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).