Workflow trigger on file upload

Author Message

Balaji GK

Thursday 21 May 2009 11:26:04 pm

Hi,

I am a newbie to eZPublish. I am trying to automate a workflow, which will get initiated automatically when a user tries to upload a file inside eZPublish content structure. Is it possible to implement this?

Operating System:Fedora Linux 9
PHP Version: 5.2.9

Regards,
Balaji.G.K

Ɓukasz Serwatka

Friday 22 May 2009 12:29:31 am

Hi, You could hook your workflow event to the content-publish-after. So it will be executed when e.g file or image object is created. That should also work with extension such as ezmultiupload and other extensions which use eZContentUpload class. Old tutorial http://ez.no/ezpublish/documentation/development/extensions/workflow_events which should give you some ideas. As a start point you might use RAD tool from eZ Publish Setup section in the administration interface.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Balaji GK

Friday 22 May 2009 2:06:51 am

Hi,
I was able to trigger workflow event after file or image creation and it also followed an approval process.But i would require a trigger to a workflow when I upload files using webdav or ftp.
Also deploy those files to an another shared file directory.Are there any default deployment scripts in eZ Publish?

Operating System:Fedora Linux 9
PHP Version: 5.2.9

Regards,
Balaji.G.K

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