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

different inputs seen by flow when testing by selecting the flow form document library and when testing in edit mode with the "Test" button

Hi,

 

My work-in-progress flow is attached to a file.

First few steps shown below:

deshmane_1-1639699247606.png

 

In my flow, I am trying to use Dynamic field "user email".

 

When I choose the flow from the file :

deshmane_0-1639699164910.png

the user email shows up correctly in the email sent to me.

 

When I try to test within the edit mode:

deshmane_2-1639699397685.png

I get garbage from the "User email" field.

"ZGVzaG1hbmVAc3lub3BzeXMuY29t"

 

What should I be doing to get the "Test" button to work ?

I need it to work to inspect what is the raw input/output at each step.

 

thanks in advance for any help/guidance.

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @deshmane ,

 

Please try this:

base64ToString(triggerOutputs()['headers']['x-ms-user-name-encoded'])
base64ToString(triggerOutputs()['headers']['x-ms-user-email-encoded'])
 
vxiaochenmsft_0-1639980599361.png

Wearsky

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @deshmane ,

 

Please try this:

base64ToString(triggerOutputs()['headers']['x-ms-user-name-encoded'])
base64ToString(triggerOutputs()['headers']['x-ms-user-email-encoded'])
 
vxiaochenmsft_0-1639980599361.png

Wearsky

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (4,062)