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

 

 

 

 

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,141)