Question
Mphasis
IN
Last activity: 2 Sep 2017 14:43 EDT
How to create Split for Each Assignment through activity?
Hi, I have an ABC Page List, using ABC page list am creating Work object through Split for Each on Submit button, now my flow got moved assignment got created for all users given in ABC page list --> it is working fine.
now if i add any user into ABC page list, need to create the one more assignment for the newly added user also.
Thanks
***Edited by Moderator, Maryrita: Moved to Product Support from Applications***
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Mphasis
IN
Thanks for your patience rawap, resloved the issue with StartnewFlow acitvity.. by passing the my flow name as parameter
Pegasystems Inc.
IN
Hello,
Can you please elaborate your requirement on what exactly are you looking for ? which will help us in providing a better approach.
Best Regards,
Mounika
Mphasis
IN
Lets say , i have 3 users in page list, when i submit it will move to next Process (flow) via split for each shape, so my WO will have 3 assignments for 3 users (each one assignment).
Now if add one more user into the same page list, i want create new assignment for newly added user using activity.
please suggest possible approach
Pegasystems Inc.
IN
Hi,
can you explain how did you configure split for each to send assignments to each user in page list
I have same requirement
thanks in advance.
Pegasystems Inc.
IN
Is your intention to create one more parallel assignment or you want to club it with the existing split for each bundle ?
Are you using split for each join conditions for your application?
Mphasis
IN
Yes , Rawap, exactly i want to create new parallel assignment. and Split for each join condition is "Any".
Thanks
Pegasystems Inc.
IN
Creating a new parallel assignment should be straight forward. You can define a new flow with that assignment and start the flow using StartNewFlow activity when a new operator is added. However this new parallel assignment will not be part of earlier split for each bundle. And since you have defined the join condition is ANY, it means any one operator finishing the flow, other parallel assignment will be automatically deleted by system. But this deletion will not include newly created parallel assignment.
Let me know if this helps or you need more information :)
Mphasis
IN
Hi Rawap, Thanks for your reply ,
I want to create new assignment for new operator, it should resolve the assignment when other assignment is resolving- basically it should be inline with all the existing assignments.
All these i want to do in activity... Please suggest..
Thanks,
Pegasystems Inc.
IN
The only way to be inline with existing split for each bundle is to restart the shape again. Below are the steps that I could think of.
- Set a ticket on the split for each shape
- When a new operator is added, your activity can raise this ticket and all the assignments will be created again including new operator
Only thing you need to be careful in this activity will be if the existing assignment is already being performed.
Let me know if this works for you.
Accepted Solution
Mphasis
IN
Thanks for your patience rawap, resloved the issue with StartnewFlow acitvity.. by passing the my flow name as parameter