Multiple workflows under a single trigger

Author Message

Sebastiaan van der Vliet

Thursday 10 July 2003 1:50:12 pm

Hi,

How do I publish multiple workflows under the <content publish before> trigger? I have several sections, and each section needs approval from a different editor. I tried using the Event/multiplexer but that does not seem to work (I get an error).

Thanks for your help,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Jo Henrik Endrerud

Thursday 10 July 2003 11:47:43 pm

Hi Sebastian
Are you using eZ publish 3.0 or 3.1? The multiplexer was not ready for use in 3.0 and we have therefore no way of doing this. The multiplexer was finished for 3.1 and should work for what you are requesting. What is the error message you get?

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Sebastiaan van der Vliet

Friday 11 July 2003 4:39:55 am

Hi,

Im using version 3.1-1 Revision: 2703. The error I get is:

Fatal error: Call to a member function on a non-object in /var/antenna/www/irc/public_html/kernel/classes/workflowtypes/event/ezmultiplexer/ezmultiplexertype.php on line 177
Fatal error: eZ publish did not finish it's request

Thanks for your help.

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Jo Henrik Endrerud

Friday 11 July 2003 4:53:27 am

This is strange. I can't reproduce this error here. The error message you are refering to describes that the event can't information about the current node, but that doesn't make sense...
Are you having many muliplexer in a row in your event? If so, can you try to make a new workflow with only one multiplexer and se if you get the same error? What settings have you set on the multiplexer?

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Sebastiaan van der Vliet

Friday 11 July 2003 5:21:23 am

Hi, I have a single multiplexer. i tried a couple of combinations and currently I have:

sections: any
classes: any
users without workflow ids: none
workflow to run: Other workflow that runs successfully standalone, but not in combination with multiplexer.

I wondered if my data caused the error so i emptied ez_approve table, workflow tables and notification tables. Multiplex still did not work.

Kind regards,
Sebastiaan

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.

Jo Henrik Endrerud

Friday 11 July 2003 5:58:04 am

This is very strange. Does this error happen on every node, or just on some classes? Does this also happen for all users (try to log in as admin and check if it happen here as well)?

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Sergiy Pushchin

Friday 11 July 2003 7:53:40 am

Another way to do it, is to put couple of approval events one after another in one workflow, after that you can set up each of them for different editors and sections, for example first one is for section 1 and editor is user_1 for second you set up section 2 and user 2, the only problem in this case is that setting should not intersect.....

Dariusz Zbikowski

Friday 11 July 2003 12:35:12 pm

Probably the bug is in kermel/classes/workflow.php

function fetchEventIndexed( $index )

- return $list[ $index -1 ]["id"];
+ return $list[0]["id"];

Best regards,
Darek

Vincent Saulnier

Thursday 31 July 2003 6:19:02 am

I have the same problem, does somebody have an answer for us?

Willie Seabrook

Tuesday 26 August 2003 5:02:07 am

Same problem also.... everyone has this problem and anyone know how to fix?

Regards,
Willie

Jo Henrik Endrerud

Wednesday 27 August 2003 4:40:57 am

We have had some problems reproducing this bug, but it is now fixed in currect svn and will be available in the next release.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

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