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
Answers
-
Have you tried IDfWorkitem.setPerformers(String actName, IDfList userGroupList) ?
0
Categories
- All Categories
- 102 Developer Announcements
- 50 Articles
- 89 General Questions
- 118 IM Services
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.8K Extended ECM
- 893 Cloud Fax and Notifications
- 75 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 90 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management