How do I reset the value of a field when an action is undone or reverted?

Created by Joshua Miller, Modified on Sun, 23 Mar at 7:36 PM by Joshua Miller

Often when a workflow action is undone or reverted it is necessary to set fields back to a prior state.  For example, if the request was marked completed, when undone, ideally the Completed On and Completed By fields would be set back to the default state of empty (Null).  The steps below outline how to do this.


Step-by-step guide

  1. Click on Modules.
  2. Select the appropriate Module.
  3. Select the Workflow tab.
  4. Click on the appropriate Workflow name.
  5. Click Next to advance to the Process Flow – User Action page.
  6. On the Process Flow – User Actions page, select the undo/revert action that should reset a field's value.
  7. In the Customize the Action form click on the Subactions tab.
  8. Click on the “No sections defined” to add a subaction.
  9. Under Field, add the Field name you want to revert and under Value enter "%(null)%".
  10. In the example, Competed On and Completed By are being set to blank as part of an Undo action.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article