Thursday 24 March 2011

Basics of Documentum Workflow

            Series of activities/tasks are called as Workflow.  Mostly these activities are performed on documents.  These activities can be performed by a user or by a group of users or by any system. Most common example for a workflow is ’Leave Application’. Following is the flow for basic leave application.



In above example we have series of activities like
1.      User submits leave application form. 
2.      Approver approves / rejects the application
3.      Updating the database
4.      Mail is sent to the user.

The activities can either be manual or automatic.  Manual activity is performed by User (Performers). Automatic activity is done by the system (i.e. not by user).
The document involved in this workflow is ‘Leave application form’.

How to design a Workflow:

            In documentum 6.x, the workflows are designed using the tool called “Documentum Process Builder”.  In process builder we have following Templates.

-         Manual Activity Templates, where we can select the performer.
-         Auto-Activity Template, where we can write our own code to be executed.
-         Pre defined Activity Templates
 A set of activity templates, each performing different functions are provided in process builder. Following are some of the pre-defined activity templates
·        DQL Read/Write
·        Link to Folder
·        Create ACL
·        Process Data Mapping
·        Create Folder
·        Invoke Process


With use of these templates we need to design our Workflow as shown below.


Approver is the manual activity and the performer is selected in activity template. Whenever the workflow is initiated, this Manual task goes and sits in the Approver’s Inbox.  Once the approver selects or rejects the application, the flow is decided accordingly.
One more important point is we need to configure which type of document should flow through this workflow. We call them as package. We can have one or more packages for a workflow.


Object types involved in Workflow:

Following are the important document types and attributes involved in workflow

Type
Explanation
dm_process
The workflow template we create using Process Builder is saved as dm_process object. We can call the process as blue-print of the workflow.
dm_activity
The Activity Template details are stored under this type.
dm_workflow
Created during runtime. Whenever we start a workflow, dm_workflow object is created. We can tell dm_workflow is the runtime instance of dm_process.
dm_workitem
Created during runtime. dm_workitem is runtime instance of dm_activity.
dmi_package
Created during runtime. It contains details about the documents attached to the workflow.


How these objects are related
           

9 Comments:

At 3 August 2011 at 22:13 , Anonymous merlyn said...

Simple and understandable.This is very useful

 
At 16 August 2012 at 02:09 , Blogger Shah Rukh Jaffer said...

it's better:-)

 
At 26 December 2012 at 23:45 , Anonymous Anonymous said...

very very helpful as it is crisp and clear.thanks a lot.

 
At 10 April 2013 at 06:18 , Blogger Ashwath Nando said...

Very Helpful . Thanks a lot

 
At 19 June 2018 at 00:28 , Blogger Java Concepts with Code said...

Hello Sir ,

I am new to Documentum , Could you please provide the answers for below questions ?

Below code create the workflow and run it .


IDfWorkflowBuilder workflowBuilder = session.newWorkflowBuilder(process.getObjectId());
workflowBuilder.getWorkflow().setObjectName(wfName);
workflowBuilder.getWorkflow().setSupervisorName(supervisorName);
workflowBuilder.runWorkflow();


Above code run the Workflow.
Now i want to print the workflow status in console like "The Workflow is completed".
How can i get the workflow completed status using DFC programming.




 
At 19 December 2018 at 22:48 , Blogger Anitha said...

Thanks for the information. business automation process can be done with document workflow . It defines the flow of the business process. This feature helps to save lot of time.

 
At 26 March 2020 at 04:04 , Blogger opentech said...

I want to create a workflow using documentum rest API for NodeJS application. I am unable to find any help in this context could you please refer any helping material.

 
At 29 May 2020 at 08:48 , Blogger Micheal Alexander said...

I have found that this site is very informative, interesting and very well written. keep up the nice high quality writing. Work Flow

 
At 24 September 2020 at 03:13 , Blogger Kani Mozhi said...

This can be one particular of the most useful blogs We’ve ever arrive across on this subject. Basically Wonderful. I am also a specialist in this topic so I can understand your hard work.
Document Management Software
Document Management System
Electronic Document Management Software
Best Document Management Software

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home