Posted: 11 Oct 2017 7:54 EDT Last activity: 16 Oct 2018 12:03 EDT
how to do: two users with the same permissions can operate on the same section
hello everyone, Now I'm going to do the following thing:
two users with the same permissions can operate on the same section, When the A user has completed the operation and the B user has completed the operation, the next step can be made. The A user can not operate two times. Similarly, the B user can not operate it two times
PEGA new user doesn't know how to do it. Please give me some advice
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
It sounds like you have two separate users who need to add data separate sets of data to a single work object. If I'm understanding your scenario correctly, at a high level you could accomplish this by having your flow include two separate assignments. The first assignment could be completed by the first user, who adds their data in via a flow action, and the flow can then route the 2nd assignment to the 2nd user, who can add their data in via another flow action.
Here are a couple of help articles that might be useful to you:
The scenario that you understand is correct,and the solution you provide is that the 2nd user can execute only after the execute of the 1st user. But what i want to do is that the user A and user B can be executed in parallel. In other words, user A can be executed first, user B can also be executed first,A and B can be executed at the same time without sequence.Can it be implement? ?
If you just want user 2 to be able to perform their updates independently of each other, but not necessarily at the exact time time, than you might be able to leverage a Spinoff flow. I haven't personally used this functionality in a while, but I believe it would allow two assignments to exist for the same work object. The only catch would be that only one user can work on a single work object at a time (due to how work object locking works), so the assignments would not be actionable at the exact same time.
Some more information about spin off flows, and how they can be used in parallel, can be found via the below links:
Alternatively, you could set up your workflow so it spins off two child cases, one for each user. Once those child cases are completed, their data could be copied back up to the parent case. Where they are two separate work objects, they could be locked individually and truly worked in parallel.