Replace Array Item


I have an array of emails, such as:

This is for an attended bot. Whoever is running the bot, I want to remove their email address from the array based on their user name (Environment.Username).

Any ideas?


Is there an option for creating a new array? Or you have to delete the mail from the same array itself.
Or can the names be stores in a list?

I could create a new array potentially, but I need it in an array and not a list since I then use it in a Input Dialogue activity for the user to select an option.

emailRemove.xaml (8.2 KB)
i have assumed that the Username has space between first name and last name
Here is a workflow…tell me if this helps you :smiley: