How to assign group/user to the Work Item programatically
Hi,
I have a use case which states author workflow need to be called automatically based on node modification.Within that workflow I have to call approver workflow,participants need to be created and assigned based on authors group. I created a new group with User Manager Interface. How to assign this created group to the Work Item in the approver workflow? Please guide me how to achieve this.
I tried this in author's workflow process step
Group newGroup = userManager.createGroup(approverGroup,approverGroup , null);
Thanks!
Kirithi