This feels like a strange question, because I feel the answer should be "no, do it another way," but:
In a change workflow with the starting operation condition "Add or remove member from group," can the added/removed user be made the $Request object or otherwise put "in process" in a OnPostModify PowerShell script?
The objective is to trigger the workflow whenever a user is added or removed to a group, then target the newly added/removed user object and modify a extended attribute for other uses in the enterprise.
I'm relatively certain the "function onPostModify($Request)" parameter is targeting the group, and I haven't been able to find any examples of changing the target to the user added or removed, if that's even possible.
I have looked into a workflow with a Modify user properties: MemberOf starting operation condition, but I didn't get very far with because I am not certain using the filtering conditions "...from request changes" means what I think it means.
Is there a clean way to do this?