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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,828)