Closed (duplicate)
Project:
Workflow
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2006 at 20:20 UTC
Updated:
1 Feb 2013 at 16:38 UTC
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
Comment #1
jvandyk commentedYes, 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.
Comment #2
fagoyeah, 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?
Comment #3
mfredrickson commentedWithout 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.
Comment #4
neurojavi commentedHi:
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?
Comment #5
neurojavi commentedForgot to change the state...
Comment #6
boaz_r commentedI'd like to join this. I also need multiple workflows per-node. Any updates on the plans for this? TIA.
Comment #7
deekayen commentedsubscribing
Comment #8
fagoI'm not going to implement this feature, as I'm using workflow-ng for this now.
Comment #9
jvandyk commentedDelayed until later this fall.
Comment #10
chrissearle commentedWatching
Comment #11
hliljegren commentedOk, now we have 6.5, but still no multiple workflows and no workflow-ng for version 6. Or am I missing something?
Comment #12
samuelet commentedhttp://drupal.org/project/rules ?
Comment #13
casey commented+1
Comment #14
casey commentedFor 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.
Comment #15
fagoYou can just use rules together with a CCK field to build workflows, have a look at the tutorials.
Comment #16
Ye commentedI 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.
Comment #17
pareen commented@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?
Comment #18
kenorb commentedhttp://nuvole.org/blog/2010/apr/12/measure-node-completion-in-drupal-part-3
Comment #19
nancydru#1891460: Multiple workflows on a node