cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
stranter
Level: Powered On

Dynamic content not available

Hi,

 

I'm trying add a variable which I inistalized earlier in my flow, but I'm getting "NO DYNAMIC CONTENT AVAILABLE":

 

flow1.PNG

 

But if I select the "Name" field above I have all dynamics content available.  Why is this?

 

Thanks,

 

Stewart

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Dynamic content not available

I can't explain why it filters it out.  But you should still be able to add it using the Variables() function on the expressions tab.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
6 REPLIES 6
Super User
Super User

Re: Dynamic content not available

Dynamic Content filters on a number of things including datatype.  The Name field is a String while I suspect the Total Amount is a number (assuming probably a float not an integer). To use a string as a number you would need to cast the field using the Float() expression.  That's why it doesn't show in dynamic content.  To add it to the field start on the expressions tab and add Float().  Then with the cursor inside the parantheses go back to the dynmaic content tab.  You should now see the field you want to add.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
stranter
Level: Powered On

Re: Dynamic content not available

Hi,

 

Thanks for the reply.  I thought this too, but as you can see below (sorry for the terrible highlighting!) I have a float variable initialized right before my Do Until.

image.png

 

Why don't I get this field?  Or any of the fields from my trigger, which is on creation of an Agreement record in MS Dynamics?

 

Super User
Super User

Re: Dynamic content not available

I can't explain why it filters it out.  But you should still be able to add it using the Variables() function on the expressions tab.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Super User
Super User

Re: Dynamic content not available

I just tried to replicate your scenario and for me the float variable does show up in dynamic content inside the loop.  So I'm not sure what is going on in your case.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Community Support Team
Community Support Team

Re: Dynamic content not available

Hi @stranter ,

 

I am afraid that I also cannot reproduce similar problems here.

In addition to using the expression- variables('variableName') to reference variable values, please also consider using Compose to transition variable values, like:

3.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
stranter
Level: Powered On

Re: Dynamic content not available

Hi,

 

In the end the requirement to create a Work Order and Work Order service was removed, so I only needed to create a Work Order.  I still had to use the variables() function to access some variables, but I got it working.

 

Stewart


@Pstork1 wrote:

I just tried to replicate your scenario and for me the float variable does show up in dynamic content inside the loop.  So I'm not sure what is going on in your case.


 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fourthImage

Australia Summit

Travel to Melbourne and network with thousands of peers!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 211 members 3,527 guests
Please welcome our newest community members: