cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ufgeorge
Helper II
Helper II

Get value of parameter in Dynamic 365

One of parameter in Dynamic 365 is select by dropdown list.

And I get the value from flow but does not show selected words. It looks like a key id.

How to show selected words in flow?

 

TKX

 

George

2 ACCEPTED SOLUTIONS

Accepted Solutions
Mira_Ghaly
Dual Super User II
Dual Super User II

@ufgeorge 

I made a test on my side please use:

triggerOutputs()?['body/_crb94_webschool_plan_label']
If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

ufgeorge
Helper II
Helper II

@Mira_Ghaly 

I just found my solution!!

outputs('取得該連絡人上層之客戶值')?['body/crb94_webschool_plan@OData.Community.Display.V1.FormattedValue']

The parameter of outputs should be the name of last step!

 

And I learn one thing, I can select Dynamic content and see "peek code" to understand how it works!

 

Thanks very much!

View solution in original post

13 REPLIES 13
Mira_Ghaly
Dual Super User II
Dual Super User II

@ufgeorge 

I need more elaboration here please , so you have a PowerApps canvas app where there is a dropdown and you pass the Id to a flow is this the case you are describing?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghaly 

I add a new field into CRM Account and its value is selected by dropdown list.

When I send email by flow, I want to show the value of the field.

The selected answer is string but I get a number like 203530002.

 

So I need to know how to show the string instead of the number.

Mira_Ghaly
Dual Super User II
Dual Super User II

@ufgeorge 

Can you share screens of your flow?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghaly 

 

This is screenshot of the CRM field.

2.png

 

This is my flow, and you can see I insert the field into mail.

Now the mail shows value: 203,530,000. But I need to show "商務版A方案" instead.

1.png

Mira_Ghaly
Dual Super User II
Dual Super User II

@ufgeorge 

Please use the below Expression:

outputs('Get_a_row_by_ID')?['body/crb94_webschool_plan@OData.Community.Display.V1.FormattedValue']

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
ufgeorge
Helper II
Helper II

@Mira_Ghaly 

I found there is Triggerbody() seems the answer.

But I can not get it work.

What I did is add 

triggerBody()?['crb94_webschool_plan']

into mailbody.

ufgeorge_0-1622463873564.png

 

@ufgeorge

Can you add a compose data operation and use the below expression, run your flow and check if it grabbed the value if it did use the output of the compose data operation in your email step

Triggerbody() ?['body/crb94_webschool_plan@OData.Community.Display.V1.FormattedValue']

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghaly 

Here is the output

ufgeorge_0-1622465938627.png

Looks it will just show the string I type, Not run it to get a value.

ufgeorge
Helper II
Helper II

@Mira_Ghaly 

I make a variable "SchoolPlan" and use expression

 

Triggerbody() ?['body/crb94_webschool_plan@OData.Community.Display.V1.FormattedValue']

 

But test run shows no value in it.

ufgeorge_0-1622467642164.png

 

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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

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.

Top Solution Authors
Top Kudoed Authors
Users online (3,391)