This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Author

Adding two simple workflows for a document

Kamal Bahadur
Greenhorn

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,
Kamal
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
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.


Ping & DNS - my free Android networking tools app
Munwar Shariff
author
Greenhorn

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: munwar@cignex.com, Author of Alfresco ECM Book
Munwar Shariff
author
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Adding two simple workflows for a document
 
Similar Threads
Technology for J2EE application to manage workflows.
how to merge two documents in memory
Action Listeners
how can i add namespaces to a xml document
java.lang.NullPointerException