[support] Workflow - Actions - Views integration

toon severijns toon.severijns at gmail.com
Sun May 22 12:51:39 UTC 2011


Hello all,

I am looking for some advice on an issue i'm having involving Workflow,
Actions and Views.

I am working with a content type "project". A project can have many
different states. I use the Workflow module to define those states, the
transitions between them and the permissions based on user roles.

A very concrete example of what i need to do is this:

A user with the role "evaluator" needs to be able (preferably by simply
clicking a button) *to take in a project for evaluation*, i.e. he/she needs
to bring a project from the state "new" to the state "in evaluation". I kind
of got to this with Workflow. Moreover, this state change needs to trigger
an action that not only changes the state, but also remembers that that
particular user took that project "in evaluation". In other words i need to
set a user reference field to hold the state-updating user. This way i hope
to be able to list the evaluator's projects "in evaluation" using
relationships in Views filtering on the state-updating user (=project's
evaluator) being the currently logged in user (correct me if i'm wrong).
Unfortunately i don't seem to be able to create an action with the Actions
module that sets the project's field "evaluator" to the state-updating
user.

Is it possible to program an action that does the above, and how? Or am i
going about this the wrong way? Should i use Rules instead? Or can i use
Rules in combination with Workflow? I'm puzzled.
Any help would be greatly appreciated!

Best,


Toon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110522/db6ccffd/attachment.html 


More information about the support mailing list