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

johnv’s picture

Havent 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?

joshuasosa’s picture

Workflow 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

johnv’s picture

Title: Workflow on Webforms » Workflow Field on Webforms

A 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"

johnv’s picture

Version: 7.x-2.3 » 7.x-2.x-dev
johnv’s picture

The Webform Workflow project has such a feature. We can borrow from that.

johnv’s picture

johnv’s picture

Title: Workflow Field on Webforms » Add suppoort for Workflow Field on Webforms
johnv’s picture

Title: Add suppoort for Workflow Field on Webforms » Add support for Workflow Field on Webforms
johnv’s picture

Status: Active » Closed (outdated)

New features for D7 are not processed anymore, (unless a patch is provided)