I'm looking for a way with Rules (or otherwise I just figured that Rules would be the easiest without writing custom modules), to change the submission status of a webform from Submitted, to Draft.

Basically, I have a form that a user submits but doesn't have access to a yes/no question. Based on a custom module, another user will have access to edit that submission and answer the yes/no question.

If that answer is no, I want to change the status of the webform from submitted, to draft so that the initial user will easily see that they need to make changes and the emails will fire again once they resubmit the form.

So in summary: I have a form with Field A and B that gets submitted by User A who only has access to Field A. Once that form is submitted, User B has access to the submission and can change the value of Field B, then save the submission (Rule: when a Webform submission is updated). Depending on the value of Field B, I want to change the completed status of the webform back to it being in Draft status.


Module/Core info:

Drupal 7

Webform 4.16

Webform Rules 1.6

Rules 2.10

closed as unclear what you're asking by kiamlaluno Jan 23 '18 at 19:04

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Was the summary a sufficient edit? – Dan Jan 24 '18 at 21:39

Browse other questions tagged or ask your own question.