MyDocumentum

Community with Real World Experience

 

Login

Items Tagged With dfc

2 Ways to Get DFC Session
Written By: James Azarja
Section:

Category:

2009-01-28 02:36:18

This article will show 2 different ways how to get session in DFC


Read More About 2 Ways To Get DFC Session...


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 dfc. You can view all our tags in the Tag Cloud

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