Replace Array Item

activities

#1

Hello!

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?

Thanks!


#2

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?


#3

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.


#4

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: