I want to send an email to a user who creates new Azure DevOps work item. However, by using "Created by", the flow does not work. It seems that flow cannot recognize the "Created by" as a valid email address.
I have tried different actions, including "send an email", "send an email (V2)". Same issue.
Solved! Go to Solution.
Hi @mariliu ,
I did a test on my side. Created By contains not only the email address, but also the Display Name of the user.
Like:
You coule use the Expression below to remove extra parts and leave a valid email address.
Expression reference:
replace(last(split(triggerBody()?['fields']?['System_ChangedBy'],'<')),'>','')
Image reference:
Please take a try again.
Best Regards,
Hi @mariliu ,
I did a test on my side. Created By contains not only the email address, but also the Display Name of the user.
Like:
You coule use the Expression below to remove extra parts and leave a valid email address.
Expression reference:
replace(last(split(triggerBody()?['fields']?['System_ChangedBy'],'<')),'>','')
Image reference:
Please take a try again.
Best Regards,
Thank you! Although I don't understand that expression, I just copied and pasted your reference into my Flow, and it worked. Appreciate your answer, Barry!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.