Lets say i have 2 groups, A & B.
If the initiator of a Process model is from group A, then a form with in Process model should be assigned to group B. Similarly for group B, it should be assigned to group A.
I have tried putting a if condition in the expression rule part of "Assignment Tab" of the particular form in process model.
But the process is getting failed.
Can some one advise what approach to be followed in this case ? I dont want to do any thing with Swim Lane, i need to achieve it through "Assignment Tabs"
Thanks in Advance...
Discussion posts and replies are publicly visible
There are a variety of tricks you can consider.To troubleshoot, you can use a group type PV that you set prior to the user input task.Just use that as your assignment value once you get it working.
Tim suggests an approach that should work. It's worth a try. But again, do it before the user input task and verify the value is setting properly.
Group membership tests can get expensive, though, and I would caution against designs that leverage them extensively.you might also have a use case for a decision object. The documentation actually uses a group assignment use case as an example for how decision objects work.
Here's a trick you might also like to try.Full disclosure, maintaining the following may become tedious if the use case changes and you add many more groups.
This reduces the amount of expression evaluation that takes place in your process, and identifies "for free" which group started the process.