Forums / Developer / Workflows not working at all

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Workflows not working at all

Author Message

Tore Skobba

Tuesday 06 April 2004 2:46:03 am

Hi all

I am trying to make my own workflow, this in order to place users in the correct user group depending upon what they enter in an toogle box. However, I am totally unable to get EZ to use my new workflow. Therefore I downloaded two workflows (mailinglist and shopsender) contributions, this in order to test them. But I have the same problem with those. EZ finds them in the Extension setup. However, after activating the new workflows they are nowhere to been seen.. Anyone know what I might be doing wrong? Or is it the EZ workflow ?

I am using EZ 3.3-4 with the EZ installer (Apacke 1.34 etc).

Cheers
Tore

Paul Forsyth

Tuesday 06 April 2004 2:49:18 am

Tore,

We wrote the worldpay extension contribution, which has a workflow within. Try that one to see if it works. If it doesn't we can work through it.

paul

Tore Skobba

Tuesday 06 April 2004 5:49:20 am

Hi Paul

Thanks for help.. I rechecked everything and noticed that I did not have the:
[ExtensionSettings]
ExtensionDirectory=extension

in my site.ini.append.php file. Once I entered it the workflows were found. However, my own is still nowhere to be found. I guess there is some undocumented critical elements in the workflows.

Update: While working an inserting my own debug in EZ kernel classes I seem to have learnt that the acutal custom workflow event class name must be *Type i.e. ezuserplacement.php must be ezuserplacementtype.php? Is that correct? Is it so sensitive?

Debug in admin return this:
Workflow type not found: event_ezuserplacement, searched in these directories: kernel/classes/workflowtypes, extension/userplacement/eventtypes

While this exsists "extension/userplacement/eventtypes/event/ezuserplacement.php".. But it seems to be totally unable to find it.. Anyone have any tips ?

Cheers
Tore

Paul Forsyth

Tuesday 06 April 2004 7:50:30 am

Yip, workflow events must end with a 'type.php'.

I also find the case sensitivety of the extension system a problem with my code. It gets far too often.

Paul

Guy Diels

Thursday 08 April 2004 1:39:59 am

First of all, I'd recheck all of your names, with those forced conventions, it's really easy to make a mistake.

I'm not sure, but isn't event_ezNNN the expected name of the associated template?
You might try to add an empty template under your extension:

\design\standard\templates\workflow\eventtype\edit\event_ezNNN.tpl

and put this under settings in workflow.ini.append.php:

[EventSettings]
ExtensionDirectories[]=ems
AvailableEventTypes[]=event_ezNNN

oh, and activate your design in your extension

Hope this helps

Matthew Carroll

Wednesday 29 March 2006 11:05:00 am

Hi Tore

On the off chance that you're still tracking this thread a year later, I was wondering if you could upload your userplacement extension or outline in a little more detail how you accomplished this - I need to do something very similar, placing new users in a certain group depending on input.

Thanks
Matthew

http://carroll.org.uk

Xavier Dutoit

Wednesday 29 March 2006 10:12:59 pm

Hi,

Have a look in the contribs, you have something like that.

X+

http://www.sydesy.com

Tore Skobba

Wednesday 29 March 2006 11:26:46 pm

Hi

This was an old thread :), acutally I have recently made my workflow a bit more genereal and uploaded it to the contribution area (http://ez.no/community/contribs/workflow/automated_user_placment). Please feel free to use it :).

Cheers
Tore