1

How can I create a separated workflow for a content type like "Article" for each organic group?

For example:

  • "Math Group" has the roles "Author," "Head."
  • "Article" nodes created by users with the "Author" role in "Math Group" will be visible only by users with the role "Head."
  • Users with the "Head" role will review "Article" nodes, and then publish it or send it back to "Author" for improvement.

How can I implement it with OG and Workflow?

2

You create a workflow state called "review" and set it so it is only accessible by Head users. Also set the states so any author can only put workflows into this "review" state - only Head users can actually change this to other workflow states.

So, the Head role can access the Workflow summary in order to review all the article group nodes which have been created in the review state.

If the Head approves it, he can change the workflow state to published which is accessible to all.

If the Head denies, he can change the workflow state to Needs work, which will mean the content remains unpublished.

If you want this to go back to the original author you can set this up with an email using actions / triggers or use the rules module.

  • can rule and workflow work together? – Mohammad Ali Akbari May 6 '11 at 8:44
  • Absolutely, I use Rules for lots of things with our Workflow. For example when a workflow state is changed to "requires media" an email is sent to me attaching the workflow comment from previous user. This way I can follow the directions in the workflow comment to create any nice images etc... – WestieUK May 6 '11 at 9:05
0

If you want to set workflow transition permissions with OG group roles instead of global roles, you can use the OG Workflow module.

  • I have installed og_workflow but I am still not able to see the group roles in the workflow it shows only the site global roles. – Shakil Ahmad Feb 13 '18 at 5:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.