Workflow

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.

This group is for people interested in workflows and actions.

It is intended to be used for
* discussing ideas
* sharing use-cases
* planning future development

sissi12's picture

Workflow module and i18n "translate"

Hello, I have a question: I use the workflow and in my workflow there is a step "published" I would like it to appear next to "view " "edit" , but that "translation" appear for specific roles and where i want in workflow.
Do you know how?
I thinks make an action but i don't know how?...

Thanks

Read more
gnanasekar's picture

How to change my 5.x module to 6.x

Hi,

Currenty i upgrade my version 5.9 to 6.2. What r the changes in my own module for drupal 6.7. What is the difference between 6.2 to 6.5. If u know any document recommend to me.

thanks & regards,
Gnanasekar Boju

Read more
vtsan's picture

Keep track of Node revision in Workflow stage

Workflow only keep track of current node revision in the arbitrary workflow stage(s), what do I have to do if I want workflow to keep track of the node revision? For example, I create 3 stages as follow draft, review, publish. I have a Node which have 3 revisions. The first revision is in draft stage, and second revision in review stage, and third revision is in publish stage.

Read more
attheshow's picture

Making Logging Messages Required in Workflow?

Is there any easy way to make the logging messages required? I'm thinking I might need to put a form_alter into a custom module, but if there's an easier way that someone knows, I'd be interested in hearing it.

Read more
capcase's picture

how to programmatically change a node state from X to Y?

i have a workflow associated with a particular node. how could I programmatically change
the node state from X to Y. because my node is also programmatically created via drupal_execute(...)

thanks!

Read more
tmetzger's picture

workflow_allowed_transitions coming back wrong

When I call workflow_allowed_transitions( $sid, 'to', $user->roles ) I don't get all the correct transitions back. Not sure why! I have checked that the correct roles are going into the function. I have checked the transition definitions. I've even traced through the source code and can't see anything wrong.

Perhaps array_intersect in workflow_transition_allowed is broken??

Any help much appreciated. I've resorted to using 'ALL' for the time being, but that will not do.

Tom

Read more
tmetzger's picture

Calling the workflow module

I'm writing some custom modules for a web application. It would be very handy to call directly into the workflow module to find (for example) all the valid next states for a given user and node, or to make a call that updates the workflow state of a node. I don't want to grub around in the database to get this done, because it's nasty and it would probably break later.

So this might be a n00b question but is there API documentation for the workflow module?

Thanks,
Tom

Read more
martink's picture

Totally confused by workflow

I must confess I am totally confused by workflow. I'm still working in D5 (waiting for modules to be upgrade to D6 so I can upgrade), and would like to set some simple workflows in place. Two examples:

Read more
tomper00's picture

Is it possible to unpublish nodes based on Node references?

Im trying to build a model where I have a parent node that can contain one ore many child nodes based on Node Reference in CCK?
Example:
I have parent called "podcast" that can have the following childnodes:
comments(node type not a std comment)
Blogposts(also a node type)
Related link(also a node type)

All have a node reference field where you point out the parent podcast.

When a podcast is unpublished I want all child nodes to be unpublished at the same time?

Has anyone done this before or does someone have an idea about how I can do this?

Read more
RobertW@groups.drupal.org's picture

Problem Assigning Action to Workflow (screen caps attached)

I am totally new to Drupal. I have a fresh install of Drupal 6.6 with Workflow 6.x-1.0-rc3. I have found the place to create actions and where to create a workflow but I can't figure out how to link them. The documentation I have found (including the Readme) seams to indicated there should be an Actions button on my work flow page. There is not.

Read more
SiteMaster.ServeLime.com's picture

How to create a round-robin allocation of people to new Nodes of a specific type

I am in need of assistance on how to construct the following:

  1. Maintain a list of responsible users in a list (NodeQueue ?)

Event: A User submist a new node of a specific type (CCK-based form)

Requirement:
Allocate the next person from the queue to be responsible for reviewing the Node.
Place the person back into the queue, at the back of it.

(The Submitter does/may not necessarily know who got assigned to their submission.)

Useful for: Round-robin Job Allocations, Advertising-Lead Wheels, etc.

Any help would be highly appreciated.

Read more
kipkoan's picture

Keep Past Revision Published While Awaiting Moderation

I am needing a way to set up a workflow like this:

  • Editors add & edit content on the site
  • Publishers approve the content
  • If an Editor edits content already published, then the current revision stays published online, while the new revision is awaiting approval from the Publisher.

I thought this would be a common workflow that people use, but I can't seem to find a way to do it. I did find the Revision Moderation module (http://drupal.org/project/revision_moderation), but it looks like it doesn't work for Drupal 6.

Read more
okmi's picture

Workflow States on Pre-Existing Content

I am relatively new to the Workflows module, so I thought I would post my question here.

We have a list of about 200 page nodes that need editing. The content is there, but we need to set up a workflow to mark these nodes as "needs edits".

I have no problem setting up a simple workflow in Drupal 6, but how do I bulk update my nodes to be in a specific state? Is this even possible?

Read more
dwhite10701's picture

Workflow problem saving node

Hey, I'm testing the workflow module on my site, and I'm having a problem with it that I hope one of you can help me with.

I'm using Drupal 5.6 , Workflow 5.x-2.3, Workflow access 5.x-2.3, Actions 5.x-2.6, Trigger Unlock 6.x-1.0 (which can supposedly work with Drupal 5).

I set up five workflow states for one of my content types, called "Press Releases". The assigned actions for each transition is to change the workflow state, and to publish or unpublish the node.

Read more
maurizio.ganovelli's picture

Workflow and cron (Drupal 5)

I'm searching a way to set multiple cron events for a workflow. A simple example for a node:
A publisher create a content:
[Created --> Wait for review]
An auditor then approve the content:
[Wait for review --> Approved]
Now i want to set two scheduled task to make this node first "Published" (i.e. in a week), then "Archived" (i.e. in two week), in order to make content available to all users for an entire week (without using the core function publish/unpublish content which needs 'administer nodes' permission that is not too flexible for my needs).

Read more
fago's picture

Rules beta 1 released :)

iceman90's picture

Workflow States as Taxonomy?

Hello,

I am building a site that has a complex workflow. What I want to be able to do, is use my workflow states as a taxonomy in a way, and be able to show users a block on the sidebar, where they can see the different workflow states (and hopefully a count of how many nodes are in that state), and if they select one, see all of the nodes currently assigned to that state.

How can this be achieved?

Read more
iceman90's picture

Workflow for Drupal 6 - How to trigger Actions?

Hello,

I have installed Workflow for Drupal 6, and have it all set up, along with setting up many actions. My question now, is how can I associate actions with the various stages and transitions in my workflow? I can't seem to find any way to do this.

Any help would be appreciated.

Read more
Alexander Ufimtsev's picture

Examples of "Execute custom PHP code"?

Hi All,

Are there any 'execute custom php code' examples available for workflow-ng v 2.1? I am trying to set 'alt_login' username upon user creation:

$alt_login = $account;
return array("alt_login" => $account);

but I guess that's too simplistic. Should I actually do it with SQL statements, etc? If so, are there any limitations on PHP execution via workflow-ng? Any code samples, etc?

Thanks in advance,
Alex

Read more
krisbfunk's picture

using workflow to create roles when an organic group is created

a rather custom request i suppose, but could anyone give me some direction on how to create a workflow that does the following:

create content type (organic group node)
create standard role using the title of the node created

Read more
Subscribe with RSS Syndicate content

Workflow

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week