How to pass performer dynamically while initiating workflow / completing manual activity using DFC?
I've developed a process (workflow template) within Documentum Workflow Designer. This process includes three manual activities, and for each activity, the performers are configured with the "Previous Activity Performer to Choose at Runtime" option. I'm utilizing the following code to initiate the workflow and successfully complete a task.
//Initiate workflow IDfWorkflowBuilder bldr = this.session.newWorkflowBuilder("process id"); IDfWorkflow workflow = bldr.getWorkflow(); bldr.initWorkflow(); //To complete workitem IDfWorkitem wi = (IDfWorkitem) this.session.getObject(new DfId(workItemId));
if (wi.getRuntimeState() == 0) {
wi.acquire();
}
wi.complete();
How to pass the performer dynamically during the initiate a workflow and completing a task?
Tagged:
0
Best Answer
-
Have you tried IDfWorkitem.setPerformers(String actName, IDfList userGroupList) ?
0
Answers
-
Have you tried IDfWorkitem.setPerformers(String actName, IDfList userGroupList) ?
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 153 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories