BrightLeaf Digital Code Snippet Library
Check out our growing library of code snippets for Gravity Forms!
Checkbox to pause workflow on step
Goal
Adds a setting to every Gravity Flow workflow step that pauses the entry on that step. Once paused, the entry does not move on unless it is manually moved to a different step. Useful when an earlier step hit an error and was routed to a "failure" route: the entry can sit on the designated step until the problem is fixed and the entry re-processed.
Configuration
- Tick Pause after this step in the step's settings.
- The pause can be limited to particular step outcomes. A step with more than one outcome offers a checkbox per status under Pause only on these outcomes; the list reflects the step type as it was last saved.
- Leaving every outcome unticked pauses however the step ends.
Notes
- Gravity Flow fires
gravityflow_step_completefor every status a step can end on, failures included, which is why limiting the pause to specific outcomes is worth doing. - When the pause is limited to selected outcomes the step keeps its real status, so the outcome stays visible on the entry.
Install Using Code Snippets
This code is best installed directly on your site using the Code Snippets plugin.
Check Out the Code
Loading...
Stay Updated On This Snippet
Review this entry
You must be logged in to post a comment.