Subscribe Now!

Enter your email address:

Thursday, March 29, 2012

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

Related Posts Plugin for WordPress, Blogger...