cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
enigma2enigma
Frequent Visitor

Using Condition Flow to compare Email IDs is not working

I am trying to see that entered email is not the initiator... The condition doesn't work. Irrespective of selected email IDs, the result from the condition is always true. I used both contained, does not contain and equal to... could anyone let me know if I am missing anything? is it not possible to compare emails?

enigma2enigma_0-1632267254944.png

Thanks

Enigma2Enigma

1 ACCEPTED SOLUTION

Accepted Solutions
eric-cheng
Solution Sage
Solution Sage

Hi @enigma2enigma ,

 

The User Email value who initiated the flow is base64 encoded.

 

ericcheng_2-1632270511002.png

 

ericcheng_1-1632270496540.png

 

You can use the below to get the decoded value

 

base64ToString(triggerOutputs()['headers']['x-ms-user-email-encoded'])

ericcheng_3-1632270721855.png

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

 

View solution in original post

2 REPLIES 2
eric-cheng
Solution Sage
Solution Sage

Hi @enigma2enigma ,

 

The User Email value who initiated the flow is base64 encoded.

 

ericcheng_2-1632270511002.png

 

ericcheng_1-1632270496540.png

 

You can use the below to get the decoded value

 

base64ToString(triggerOutputs()['headers']['x-ms-user-email-encoded'])

ericcheng_3-1632270721855.png

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

 

 

 

 

enigma2enigma
Frequent Visitor

I realize that the email id from trigger body user input doesn't need to be composed. How is that stored?

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,819)