I have a admin screen, where the logged-in user can place a request.
The approving task should go to the all the users in the admin group except the requestor.
I tried difference(getdistinctusers(pv!groupName), loggedinUser()) on user input task assignment tab, but the task is still assigning to requestor.
Discussion posts and replies are publicly visible
loggedinuser() executed in the model returns the admin user. See https://docs.appian.com/suite/help/21.1/fnc_people_loggedinuser.html#notes
You might want to use pv!initiator which is the user starting the process.
Unknown said:You might want to use pv!initiator
To clarify, a process instance automatically has "pp!initiator" (as in "process property"), which the designer in this case should store in a PV they add i.e. "pv!initiator" (or any other name they want).