I have a requester - approver process where I want to assign list of users to Processor for Approval role.
I am getting list in requester CO and at design-time I have declared Processor for Approval as runtime defined in roles tab of process.
Can anybody tell me how to add this users to this role programmatically? may b in execute method or in complete() method?
I came across with one method which looks promising :
IGPRuntimeManager rtManager = GPProcessFactory.getRuntimeManager(); rtManager.addRuntimeDefinedUser();
This method requires IGPProcessInstance and other parameters. Can I get some info abt how to get them?
Sample code will be most welcome.
Thanks and regards,