Subscribe Now!

Enter your email address:

Sunday, October 16, 2011

How to Implement a Simple Workflow


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

send request

back to creator for modification
Process Definitions
Each workflow definitions is defined by a single XML file.The XML file has several parts which define the workflow. The key parts of the workflow definition are the asset, states, transitions, and tasks. The asset is whatever piece of content is being reviewed and approved in the workflow. States represent stages of the workflow; for example: created, rejected, or approved. Transitions occur between states, and indicate what the next state should be. Tasks are steps in the workflow that require user action.
Enhancing the portlet
This portlet is of course very basic and it could easily be enhanced in several
ways. Some suggestions:
_ Submit to a condor pool or Sun Grid Engine.
_ Let the user 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...