Skip to main content

I have a workflow in which I'd like to parse a Person field into individual people so that I can create a list item in another list?

Another possible scenario would be to send separate emails to each person in the Person Field.

Do I need to convert this to a string and use regular expression syntax--then reconstitute the strings as people?

Example code would be great.

thanks,

Stephan

Hi Stephen,

You can use regular expressions split and store the data in a collection variable. you can use the collection operation to get the count or loop through it to get the item. You can send emails to each item in the loop.


Do you have a code example?


Usually in a group, people are separated by ";". As ‌ recommended you can use regular expressions n look for ";".


Reply