Forum Discussion

Re: Looping through field values in Pipeline

Hey Brittany-

Figured it out!  Even though you could convert the UserList field into a formula text field and use the regex to split that text field.  Here's a way to not need that helper field and use the UserList field directly in pipelines.

UserList is an array of objects so you need to extract the email attribute from all the objects and then parse that list.


This Jinja will extract them to create a single string that you can use in regex:
{{ a.user_list | map(attribute="email") | join(";") }}


------------------------------
Kristoffer Keene
------------------------------
No RepliesBe the first to reply