Sunday, October 16, 2011

How to Implement a Simple Workflow


In this example I create two user acontent creator who will create content and a content publisher who willpublish the content.

sendrequest

backto creator for modification
ProcessDefinitions
Each workflow definitions isdefined by a single XML file.The XML file has several parts which define theworkflow. The key parts of the workflow definition are the asset, states,transitions, and tasks. The asset is whatever piece of content is being reviewedand approved in the workflow. States represent stages of the workflow; forexample: created, rejected, or approved. Transitions occur between states, andindicate what the next state should be. Tasks are steps in the workflow thatrequire user action.
Enhancing the portlet
This portlet is of coursevery basic and it could easily be enhanced in several
ways. Some suggestions:
_ Submit toa condor pool or Sun Grid Engine.
_ Let theuser choose which computational resource to submit to.
_ Add persistence by saving state to _le or database.

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Wallpapers collections