Testing a Workflow
Before making a workflow available to all users, test the workflow to make sure that the workflow runs correctly. Complete the following steps to test a workflow:
-
Set up the workflow for testing. Enable logging and set the release status. For more information, see Setting Up a Workflow for Testing.
-
Test conditions. Set up a testing scenario where you can verify that the conditions can evaluate to both true and false. For more information, see Testing Workflow Conditions.
-
Test actions and transitions. Make sure that actions and transitions appear in the workflow execution log and complete successfully. For more information, see Testing Actions and Transitions.
-
Test buttons. Make sure buttons appear in all states of the workflow where they are required. For more information, see Testing Buttons.
-
Test Send Email actions. Use the workflow execution log to make sure that the Send Email actions send an email. For more information, see Testing a Send Email Action.
-
Test scheduled workflows. Initiate a scheduled workflow to start immediately and quickly test the logic in the workflow. For more information, see Testing Scheduled Workflows.
-
Test scheduled actions and transitions. Set the smallest possible delay on a scheduled action or transition for testing. For more information, see Testing Scheduled Actions and Transitions.
-
Test for user access. Test access for specific roles, test from within the Employee Center, and test access to related records. For more information, see Testing for User Accessibility.
Workflow errors can occur due to incorrect triggers on actions and transitions. Make sure you review triggers and the SuiteFlow trigger execution model. For information, see Workflow Triggers and SuiteFlow Trigger Execution Model.