Forums / Developer / Anyone ever got workflows to work?

Anyone ever got workflows to work?

Author Message

Armin Lukas

Tuesday 13 July 2004 4:59:53 am

I've tried to create a workflow that fetches a template and awaits input from there.

see ezwrappingtype in the documentations.

yet, I couldn't bring it to life.

Any suggestions.

Kåre Køhler Høvik

Thursday 15 July 2004 1:09:12 am

Please provide some more information about what you did, and what you expected to happen.

--
Kåre Høvik

Kåre Høvik

Armin Lukas

Thursday 15 July 2004 1:38:22 am

For code bits and so on you can look into http://ez.no/community/forum/developer/proper_use_of_ez_workflow_type_status_redirect_repeat/#msg62624

but here is what I did in a brief description:
My system is 3.3-3 svn 5019
So I created a workflow under the extensions directory, I then simply created ezsendmailtype.php
with all the necessary code for a workflow event.

I set $process->Template = array ('templateName' => 'design:workflow/eventtype/result/'. 'event_ezsendmail' . '.tpl');
and I return EZ_WORKFLOW_TYPE_STATUS_FETCH_TEMPLATE_REPEAT;

Then I created event_ezsendmail.tpl in extension/sendmail/design/standard/templates/workflow/eventtype/result/ and made a file called workflow.ini.append available in extension/sendmail/settings
with ExtensionDir and EventType Variables in it.

What I know so far:
My workflow event shows up in the admin interface
It get's executed (I echoed in it)
But it won't fetch my template.

Can it be that eZP did not find my template and ran through the workflow without complaining?
I looked into notice/warnings/error log-files but there was no entry.