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
- 122 Developer Announcements
- 53 Articles
- 149 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 181 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories