If a customer adds Request Participants, I want to remove the new request participants which also satisfy the condition of being service desk agents
For example, assume a request has the following participants:
Now a customer replies to this request via email, and adds the following emails-addresses in CC (or, alternatively, adds these via the customer portal):
My Service Management project is configured to allow customers to add participants this way.
I want an automation such that the resulting set of participants after the customer has made this change is:
In other words, any emails which end in @servicedeskagent.com should not be added to the request participants. However, if these request particpants already exist for this issue, they should not be removed.
Is this possible with Automation? Maybe via some kind of Regex, possibly involving regex groups/sets?
Extra Love if there is a solution that distinguishes between whether this change came in via mail or via customer portal.