Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to apply a workflow to webforms, such that these workflows are attached to submissions and not the webform node itself? (Or any suggestions on how to accomplish this besides Workflow?)
I have a form where each submission needs to be reviewed by one person, who would change the review status when done to have a notice sent to the next person to review the submission, and so on.
I think ideally, it'd work just adding workflows as a field type for webforms.
Comments
Comment #1
johnvHavent used Webform before... There were some requests before:
https://drupal.org/project/issues/workflow?text=webform&status=All
But since 7.x-2.x we have Workflow Field. Can you add this to the Webform?
Comment #2
joshuasosa CreditAttribution: joshuasosa commentedWorkflow Field doesn't appear to show up as a field type for Webform.
To reference, I have Workflow API, Workflow UI, and just Workflow Field activated. Going to edit a content type, I can see the Workflow field type. Going to edit a webform, I don't see a Workflow field type.
Similarly, I have a Phone field type, provided by: https://drupal.org/project/phone
But it doesn't show in Webform by itself. It needs: https://drupal.org/project/webform_phone
Comment #3
johnvA patch is welcome. The webform_phone module seems a good example.
Some more info can be found here:
#340241: Provide hook_webform_component_info() to allow 3rd-party components
http://jamestombs.co.uk/2012-09-24/create-new-webform-element-drupal-7
Google: https://www.google.nl/search?q=hook_webform_component_info
(e-)book : "Drupal 7 Webform Cookbook"
Comment #4
johnvComment #5
johnvThe Webform Workflow project has such a feature. We can borrow from that.
Comment #6
johnvComment #7
johnvComment #8
johnvComment #9
johnvNew features for D7 are not processed anymore, (unless a patch is provided)