Hi Daniel
Sorry, maybe I misunderstood your requirement. I'm not clear about the business case where this kind of logic is needed.
I don't have the final solution, but maybe a hint where you can have a look at...
- Implement sub-process to customize list of delegation targets (as mentioned above)
- In the sub-process, use API
ivy.wf.findWorkflowEvents
to find task reset and task delegation events and the users who executed it. Then you can remove these users from the list.
Maybe other users here can provide more detailed information.