Problem

Webform module should support basic workflows which include altering a submissions states based on certain values.

Solution

Provide simple handler that allows a webform submission's values to be set based on a submissions state and/or conditions.

Trigger

  • ...when draft is saved.
  • ...when anonymous submission is converted to authenticated.
  • ...when submission is completed.
  • ...when submission is updated.
  • ...when submission is deleted.

Conditions

Action settings

  • Update Submission Data
  • Set Flag (blank | flag | unflagged|)
  • Append Notes
  • Add message log
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Title: Add 'Action' handler Problem Webform module should support basic workflows which include altering a submissions states based on certain values. Solution Provide simple handler that allows a webform submission's values to be set based on a submissions st » Add 'Action' handler
Issue summary: View changes

  • jrockowitz committed d6c180b on 2920241-action-handler
    Issue #2920241: Add 'Action' handler
    

  • jrockowitz committed aac6702 on 2920241-action-handler
    Issue #2920241: Add 'Action' handler
    

  • jrockowitz committed c84805e on 2920241-action-handler
    Issue #2920241: Add 'Action' handler. Add resave
    

  • jrockowitz committed d235444 on 2920241-action-handler
    Issue #2920241: Add 'Action' handler. Add test form.
    

  • jrockowitz committed aebc1e0 on 2920241-action-handler
    Issue #2920241: Add 'Action' handler. Cleanup
    
jrockowitz’s picture

Status: Active » Needs review
FileSize
35.42 KB
jrockowitz’s picture

The last submitted patch, 8: add_action_handler-2920241-8.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Status: Needs review » Needs work

The last submitted patch, 9: add_action_handler-2920241-9.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

jrockowitz’s picture

Status: Needs work » Needs review
FileSize
30.63 KB

Status: Needs review » Needs work

The last submitted patch, 12: add_action_handler-2920241-12.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • jrockowitz committed 10b79a0 on 2920241-action-handler
    Issue #2920241: Add 'Action' handler. Fix broken tests.
    
  • jrockowitz committed f6e60a1 on 2920241-action-handler
    Issue #2920241: Add 'Action' handler. Fix broken tests.
    

  • jrockowitz committed 8f36ad2 on 2920241-action-handler
    Issue #2920241: Add 'Action' handler. Apply code sniffer.
    
jrockowitz’s picture

Status: Needs work » Needs review
FileSize
32.62 KB
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz committed 1e591ef on 8.x-5.x
    Issue #2920241 by jrockowitz: Add 'Action' handler
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.