File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes Adding two simple workflows for a document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Adding two simple workflows for a document" Watch "Adding two simple workflows for a document" New topic

Adding two simple workflows for a document

Kamal Bahadur

Joined: Jan 09, 2006
Posts: 3
I need two work flows for a document. One worlkflow with "approve/reject" action and another workflow with "onhold/NoAction" action. My question here is:

How do I add two simple workflows to a document successfully?

However, I am able to add two simple workflows for a document but it is showing only one action(menu). How do I handle this situation .

Kindly help me.

Thanks and Regards,
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Are you using some particular document handling/workflow product? If so, tells us which one that is, and if not, then the question of how to add workflow capability to an application is rather open-ended. But either way, tell us some more details.
Munwar Shariff

Joined: Jan 24, 2007
Posts: 29
Alfresco includes two types of workflows out of the box. One is the Simple Workflow which is content-oriented and the other one is the Advanced Workflow which is task-oriented.

The simple workflow features of Alfresco enables you to define a simple approve- reject workflow for your documents. The email templates and notification business rules are helpful to notify all the concerned people involved in the workflow process. You can also implement complex workflows by chaining the spaces with multiple approve and reject steps.

The complex task-oriented workflow requirements can be handled by Advanced Workflow features. You can create a task, attach multiple documents and send it to multiple people for review. Using the dashboard views, you can view all the tasks assigned to you and all the tasks you have assigned to others. You can track the tasks to closure using the web client user interface.

There is a dedicated Chapter in the book titled "Chapter 9. Workflow", which explains you the concepts such as :
�Enable simple workflow on documents
�Create email templates and set email notifications
�Extend workflow with multiple approval steps
�Implement a complex workflow scenario for digital asset management
�Start an advanced workflow from the list of predefined workflows
�Assign priority, due date, reviewer and documents to the workflow
�Take ownership of a task
�Reassign a task
�Change the workflow state
�List tasks assigned to you and tasks completed by you
�Cancel or abort the workflows you have started
�Create your own custom advanced workflow

Munwar Shariff, CTO, CIGNEX Technologies Inc, Email:, Author of Alfresco ECM Book
Munwar Shariff

Joined: Jan 24, 2007
Posts: 29
By the way Alfresco uses jBPM (JBoss Business Process Management) workflow as underlying framework. JBPM is highly scalable and extensible workflow engine.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Adding two simple workflows for a document
It's not a secret anymore!