I would like to be able to create multiple workflows for one content type. If it's ok, I'll provide a patch for this.. :)

Further I would put the workflow_type_map in the drupal variable cache (variable_[g|s]et) as this information needs to present every node view/load. Then to increase the usability a bit I would move the content type selection into the workflow edit page.

I need this in conjunction with the pageroute workflow module I develop, however I think it could be of interest in general to have more workflows on one type.

Comments

jvandyk’s picture

Yes, we need multiple workflows. Here's my current thinking. The best way to do this would be to develop workflow.inc for Drupal 5.1. This would handle multiple hardcoded workflows that are already in Drupal (sticky, published, etc). Then a companion workflow.module would extend this to include user-defined workflows like workflow.module does now.

fago’s picture

yeah, sounds great.

However I was talking about a change to the current 4.7 workflow module. Currently a content-type can have one workflow assigned, but no more. But I would like to be able to assign more than one workflow to the same content type.

Would you be open-minded for a patch for this?

mfredrickson’s picture

Version: 6.x-1.x-dev » 4.7.x-1.x-dev
Status: Active » Closed (won't fix)

Without a patch, I'm going to close this as won't fix for 4.7. When we start on the 5 branch and/or start looking at core we can touch on this conversation again.

If you'd like to get a jump on this process, start thinking CCK workflow field. This is probably the best way to implement multiple workflow states per node.

neurojavi’s picture

Hi:

I think it's time to reopen this issue since th 5.x version is here...

I think having multiple workflows per node type is a very important feature.

Is this feature planned to be included in the next version?

neurojavi’s picture

Category: task » feature
Status: Closed (won't fix) » Active

Forgot to change the state...

boaz_r’s picture

Version: 4.7.x-1.x-dev » 5.x-1.1

I'd like to join this. I also need multiple workflows per-node. Any updates on the plans for this? TIA.

deekayen’s picture

subscribing

fago’s picture

Assigned: fago » Unassigned

I'm not going to implement this feature, as I'm using workflow-ng for this now.

jvandyk’s picture

Delayed until later this fall.

chrissearle’s picture

Watching

hliljegren’s picture

Ok, now we have 6.5, but still no multiple workflows and no workflow-ng for version 6. Or am I missing something?

samuelet’s picture

casey’s picture

+1

casey’s picture

Version: 5.x-1.1 » 6.x-1.x-dev

For d6 there is no module like workflow-ng's cclinks.module and states.module, so this feature request is apposite again.

I think to accomplish this, the easiest - maybe even the most beautifull - way is to use cck fields. This would make it also easy for other types than nodes to use workflow.

fago’s picture

You can just use rules together with a CCK field to build workflows, have a look at the tutorials.

Ye’s picture

I think we can apply one of the ideas that Jeff Eaton came up here #475712: Allow per-node workflows. In short, by allowing per-node basis workflows for a content type, we are essentially enable the multiple workflows for the content type. This is done upon node creation, which is the logical place to determine a node's workflow before it's created. Once a node is created, workflow cannot be switched as it's in the workflow.

pareen’s picture

@fago: how can we use rules with cck for getting a workflow? Can you give a link to the tutorial that you are talking about?

kenorb’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

http://nuvole.org/blog/2010/apr/12/measure-node-completion-in-drupal-part-3

Thanks to the integration with the powerful Rules module, you can set up complex workflows with data completion in a couple of minutes.

nancydru’s picture

Status: Active » Closed (duplicate)