MyDocumentum

Community with Real World Experience

 

Login

Items Tagged With workflow

Documentum 6.5: Where is the Workflow Manager?
Written By: James Azarja
Section:

Category:

2009-10-10 02:12:53

If you're familiar with Documentum 6 or other previous version, you must be also familiar with Workflow Manager.(For those who don't familiar with Workflow Manager, Workflow Manager is a tool that can be used to build "simple" Documentum workflow, the other tool that also can be used to build Documentum workflow is Process Builder). This article will show you how to access Workflow Manager in Documentum 6.5.

workflowmanager


Read More About Documentum 6.5: Where Is The Workflow Manager?...


Starting Workflow with Process Variable
Written By: James Azarja
Section:

Category:

2009-02-20 17:43:59
1
2
3
4
5
6
IDfWorkflowBuilder workflowBuilder = session.newWorkflowBuilder(<processid>);
IDfId wid = workflowBuilder.initWorkflow();
IDfWorkflowEx workflow = (IDfWorkflowEx) session.getObject(wid);
workflow.setPrimitiveObjectValue("VARNAME1",value1);
IDfId idWf = workflowBuilder.runWorkflow();
return idWf;

 

  • Don't forget to include bpm_infra.jar (C:\Program Files\Documentum\Shared\bpm_infra.jar)
  • IDfWorkflowBuilder documentation can be found in DFC JavaDoc
  • IDfWorkflowEx documentation can be found in BPM JavaDoc


Where is the IDfWorkitemEx ?
Written By: James Azarja
Section:

Category:

2009-02-02 14:56:21

Question: I cannot compile a workflow method that using IDfWorkitemEx interface.

Answer: IDfWorkitemEx interface is enhanced version of IDfWorkitem. In case you want to use (import) this interface in your workflow method, simply add bpm_infra.jar to your classpath (eclipse project classpath). bpm_infra.jar is usually located at C:\Program Files\Documentum\Shared.

IDfWorkitemEx can be used to retrieve workflow's process variables, example:

1
2
3
4
5
6
7
/* Updating process variables, i.e sdt. For more info on IDfWorkitemEx, 
refer to java doc corresponding to com.documentum. BPM.IDfWorkitemEx*/

if (workitem instanceof IDfWorkitemEx) {
IDfWorkitemEx workitemEx = (IDfWorkitemEx) workitem;
Object var0 = workitemEx.getPrimitiveVariableValue("Var0");
//Some useful operation with var0
workitemEx.setPrimitiveObjectValue("Var0", var0);
}

 






There are 3 items tagged with workflow. You can view all our tags in the Tag Cloud

<< Start < Previous 1 Next > End >>
Page 1 Of 1