Testing Actions and Transitions

When you test a workflow, review the workflow execution log to see which actions and transitions did or did not execute during the run of your workflow. Based on log details, you can make changes to the workflow to resolve issues with actions or transitions. For more information about the workflow execution log, see Workflow Execution Log.

Actions and transitions can have one the following statuses:

In addition, an event or transition may not appear in the log because they did not execute. SuiteFlow will only attempt to execute actions of the appropriate trigger type. Make sure that you understand triggers and the Suiteflow triggering model. For more information, see Workflow Triggers.

Tip

To test the execution of one specific action within a state, set all other actions in the state to Inactive. For each action, select the Inactive box on the action definition page and save the action. After you test, you can re-activate the actions. You can also change the trigger type for the action to make sure the action trigger type did not cause the failure.

Skipped Actions

When SuiteFlow skips an action, the action may not be supported for the server trigger on which the workflow entered the state.

The following screenshot shows a record that entered a state on a Before Record Load trigger and consequently, the Send Email action was skipped:

A portion of the workflow execution log that highlights that the Send Email action was skipped.

You can view the options for the Send Email trigger on the Send Email action definition page in the Trigger On dropdown list:

A portion of the Send Email action definition page with the Trigger On options highlighted. Options include Entry, Exit, After Record Submit, and Scheduled.

This action can be executed on any of the four triggers listed, depending on the server trigger on which the record enters the state. Since Before Record Load is not an option for the action, the workflow skips the action when running ONENTRY trigger under BEFORELOAD.

Note:

The absence of the Before Record Load trigger type for the Send Email action means that even with the trigger type set to Entry or Exit, this action will be skipped if the record enters the state on a Before Record Load or Before Record Submit trigger.

Related Topics

Testing a Workflow
Setting Up a Workflow for Testing
Testing Workflow Conditions
Testing Buttons
Testing a Send Email Action
Testing Scheduled Workflows
Testing Scheduled Actions and Transitions
Testing for User Accessibility
Testing and Troubleshooting Workflows
Workflow Actions
Workflow Transitions

General Notices