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

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
Dual Super User III
Dual Super User III

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.

View solution in original post

6 REPLIES 6
Dual Super User III
Dual Super User III

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.

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?

 

Dual Super User III
Dual Super User III

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.

View solution in original post

Dual Super User III
Dual Super User III

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.

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.

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (7,797)