Thursday 09 December 2010 8:01:18 am - 6 replies

» Read full tutorial

Introduction

This tutorial will guide you through the development of a simple eZ Publish workflow event. At the end of the tutorial, you should be able to create your own workflow event, configure a workflow that would execute the event and configure workflow triggers in the admin interface.

Note : the PDF version of this tutorial, as well as the downloadable extension are here.

 
Author Message

Robin Muilwijk

Saturday 11 December 2010 12:27:38 am

Hi,

Great tutorial! A very good addition to the online docs, I'm sure this will inspire others when setting up their workflows. It also shows the power of eZ Publish, thanks for this contribution!

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Kristof Coomans

Saturday 11 December 2010 9:34:58 am

There seems to be a small typo on Step 8:

"

It’s not time to see how to retrieve them.

"

I guess "not" should have been "now".

Nice tutorial, posting Twitter updates is a perfect use case for workflows!

However, the used process of authorizing eZ Publish to have access to the twitter account looks quite cumbersome to me. I guess it could be made a lot easier by offering a screen for that in the eZ Publish administration interface that starts the full web-based authorization process instead of the out-of-band/PIN code authentication which was not really suitable for this kind of app. A good example of how this is done is the nxc_twitter extension available at http://projects.ez.no/nxc_twitter.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Romeo Antony

Sunday 12 December 2010 12:29:49 am

Huy,

Good tutorial. Learned a lot from this like how to integrate 3rd party libraries, creating custom wrokflowevents.

Maxime Thomas

Monday 13 December 2010 4:46:56 am

Hi,

Excellent article which shows the power of workflows and how thing can be easily done with it.

However, I just regret you don't put some examples on how debug thoses workflows, it can be tricky for some people.

Max

maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

Nicolas Pastorino

Wednesday 15 December 2010 4:46:39 am

"

There seems to be a small typo on Step 8:

"

It’s not time to see how to retrieve them.

"

I guess "not" should have been "now".

"

Thanks, fixed now.

"

Nice tutorial, posting Twitter updates is a perfect use case for workflows!

However, the used process of authorizing eZ Publish to have access to the twitter account looks quite cumbersome to me. I guess it could be made a lot easier by offering a screen for that in the eZ Publish administration interface that starts the full web-based authorization process instead of the out-of-band/PIN code authentication which was not really suitable for this kind of app. A good example of how this is done is the nxc_twitter extension available at http://projects.ez.no/nxc_twitter.

"

I agree here, although it is not exactly the scope of this already thorough tutorial. It could be a follow-up tutorial, showing how to create custom panels and tabs in the admin interface ? Easy, yet very useful.

Cheers Kristof,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Quoc Huy Nguyen Dinh

Wednesday 15 December 2010 4:50:29 am

Thank you all for the feedbacks. Very much appreciate it.

@Kristof, I've notified Nicolas to see if the typo can be corrected. Regarding the Twitter API you are correct, this is not the easiest way to handle this and NXC technique is sweet. But this allows one to also discover eZ Script.

@maxime, I usually debug my workflows with eZLog::write() which is used here.

You must be logged in to post messages in this topic!

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