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
[email protected] | 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
|