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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,199)