howto set up a collaborative validation in ez4 ?

Author Message

Daniel Caillibaud

Friday 04 January 2008 2:15:59 am

Hi,

I'm looking for the best way of doing a collaborative validation :
- when a content is submited, all the members of the "'validators" group are notified
- when more than X validators have validate the content, without any reject, the content is automatically published.

I guess I have to look forward the workflow documentation, but perhaps someone have good advices (I'm noob on ez).

Maxime Thomas

Monday 07 January 2008 8:27:32 am

Hi !

You may need to develop a customized workflow event to evaluate the numbers of rejection or agreements on your content.
Because of the design of the workflow mecanism on version 3.X (and 4 I guess), you can only follow sequential steps in a workflow. So, here's another problem, you would like to send global notification to each member of a group and that your content would be accepted if only X members on Y has rated this content.

A solution :

Develop a workflow event for group acceptation :
- if the person agree : eZ Send a mail and increase a flag for this content on this workflow process somewhere.
- else the content is sent back in My Draft.

Develop a workflow event for waiting the right minimum numbers of acceptation for this content.
- if the number is not reached, wait.
- if the number is reached, publish.

And then you will hve this workflow :
- Step 1 : group acceptation set to Validators group
- Step 2 : Wainting for the minimum number of acceptation set to X.

If you do it, let me know, I will try it.

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.