MyDocumentum

Community with Real World Experience

 

Login

Items Tagged With bpm

Show Method Log in Process Builder Console
Written By: James Azarja
Section:

Category:

2009-01-22 13:20:00

Step by step guide how to show your workflow method log (using DfLogger) into Process Builder Console


Read More About Show Method Log In Process Builder Console...


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 2 items tagged with bpm. You can view all our tags in the Tag Cloud

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