@yt110154 can you share more on the activity? Or perhaps comparing to Constellation Tips: Bulk Transfer Assignment might help understand further? Though that was for a slightly different use case.
Case Management?
Have you considered a simpler solution?
If you were to use case management for this then you could just change stage / restart stage to regenerate the assignment assigned to the right person?
- This then gives you a process in your case lifecycle, where you can run a data transform and manipulate the data.
- AND we know that the UX is tied to this kind of case management so you will see the assignment / back-to-back processing will take place.
- It also avoids any kind of locking, clashing or custom error handling in your activity.
I have done this on many occasions when activities become overly complex or the Pega UX isn’t optimal in the approach built.