Improvement to workflow logic - object validation feature

Author Message

Kjell Knudsen

Thursday 11 March 2004 4:09:52 am

Hi all,

This issue has been discussed in a couple of other threads, but I thought to start a new one to present my ideas for a solution. I understand the guys at eZ have been fiddling with this for some time, and I've also talked a bit with Bård about it as it is something we do need for our site. But haven't seen concretely any proposals on how to do it, so I thought I'd put my idea forward and see what others think.
We're willing to pay for development on this but hope others might want to join in, at least with ideas on how to do it.

Our key desire: More managable collaboration feature, allow various users to work with drafts of objects.

This solution would partly or completely address the following issues:
· Workflows with more than two users - http://www.ez.no/community/forum/general/approval_workflow_whit_more_than_2_actors
· Group as editor/approving person - http://www.ez.no/community/forum/suggestions/wish_workflow_event_approve and http://www.ez.no/community/forum/setup_design/approval_by_others_users_than_administrator_user_a_group_of_user
· Allow editors to edit article before approval, ie real collaboration as well as review of eg. guestbook submissions before they display to users.
· Correct placement of draft article before publishing and allowing other editors to see. Even if a person can publish directly to the node.
· Unpublishing - http://www.ez.no/community/forum/general/unpublish_event_in_ez_3_3_missing

To achieve this I had the following ideas:
1. New optional overall feature called validation. Can be set for a node to say if child objects require validation or not. All objects can then be set as validated or not under the current node.
2. In user configuration an option to say if user is allowed to validate (in node, for class etc).
3. If a user is allowed to publish but not validate the object is sent to those who can validate (maybe have an option to specifiy what users validate in those cases). That comes in their collaboration box, but when they enter to edit they edit under the appropriate node.
4. Related to 3., have option for user to see a list of those who can validate and specify whom to ask for validation.
5. Allow 4 also for those who are allowed to validate, to provide for collaboration. Ie send article to next person who should edit before it's validated.
6. Users can see their own unvalidated articles (optional), those who can validate can see all unvalidated.
7. Setup for: can validated own, can validate all
8. For articles that should not temporarily display one can just unvalidate.

Best regards,

Kjell Knudsen
http://www.icbl.org (eZ version coming in a couple of months)

Kjell Knudsen
http://www.icbl.org

Kent Wakely

Wednesday 11 August 2004 10:16:48 am

Any progress or new developments with this?
I'm particularly interested in multi-stage approval workflows.

- kent

Paul Borgermans

Wednesday 11 August 2004 10:27:33 am

Not much I'm afraid. Workflows and other collaboration features will be addressed after 3.5

We implemented some pseudo workflow stuff, sometimes (but mostly not) coupled to the notification system. Some boolean flags in the classes are used to hide/show (read "publish") objects.

Collaboration features are really the weakest part in eZ publish, at least when you need something more than a simple workflow.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Bård Farstad

Thursday 12 August 2004 12:07:24 am

Just some information: I've just made some extensions for a customer which supports multi level approval. I also made it possible to edit the object during the approval workflow.

This code is not (yet) ready for trunk, but atleast the editing during a workflow event should be in trunk soonish. There are some generalizations that needs to be done before I can commit it.

So, there are some improvements beeing done in this area.

--bård

Documentation: http://ez.no/doc

Kent Wakely

Thursday 12 August 2004 8:13:36 am

That's excellent news.

Do you see this as being, like, a 3.4.2 or a 3.4.3 type of thing at this stage?

Bård Farstad

Thursday 12 August 2004 11:39:00 am

These new features will not be added to the 3.4 branch. No new features will be added there. So it might be added to the 3.5 release, but I can't promise that since it's not part of the features we will make for 3.5.

I hope we will have time to clean this up for 3.5, but I can't promise it.

--bård

Documentation: http://ez.no/doc

Robin Sørlie

Wednesday 03 November 2004 4:47:10 pm

Any updates on this? Is it going to be integrated in 3.5?

Xavier Dutoit

Monday 03 October 2005 6:12:34 am

Any update on this ?

X+

http://www.sydesy.com

Sébastien Antoniotti

Wednesday 21 March 2007 1:25:06 pm

Hi,

I found this topic by searching a solution to add a validation workflow for only one class, because I'm on a 3.8.6 version, and the validation workflow can just be defined for a section, and in my section I want to validate articles but not comments.

Is there anyway to do this ?

thanks in advance !

eZ Publish Freelance
web : http://www.webaxis.fr

Nabil Alimi

Thursday 22 March 2007 10:58:14 am

Hi Séb :)

To achieve this, you should set a multiplexer workflow. With this one, you can finetune workflow approval.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

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

eZ debug

Timing: Jan 18 2025 14:53:51
Script start
Timing: Jan 18 2025 14:53:51
Module start 'layout'
Timing: Jan 18 2025 14:53:51
Module start 'content'
Timing: Jan 18 2025 14:53:52
Module end 'content'
Timing: Jan 18 2025 14:53:52
Script end

Main resources:

Total runtime1.1004 sec
Peak memory usage4,096.0000 KB
Database Queries90

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.1563152.6563
Module start 'layout' 0.00450.0026 740.812539.5078
Module start 'content' 0.00701.0917 780.3203872.8359
Module end 'content' 1.09870.0016 1,653.156324.0938
Script end 1.1003  1,677.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.2574160.0002
Check MTime0.00120.1122160.0001
Mysql Total
Database connection0.00070.062310.0007
Mysqli_queries1.011391.9007900.0112
Looping result0.00100.0869880.0000
Template Total1.073397.520.5367
Template load0.00210.194920.0011
Template processing1.071197.342720.5356
Template load and register function0.00030.023710.0003
states
state_id_array0.00110.096510.0011
state_identifier_array0.00140.127320.0007
Override
Cache load0.00200.1802660.0000
Sytem overhead
Fetch class attribute can translate value0.00100.089080.0001
Fetch class attribute name0.00110.1006160.0001
XML
Image XML parsing0.00910.827780.0011
class_abstraction
Instantiating content class attribute0.00000.0022170.0000
General
dbfile0.00690.6243480.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs