question

willh avatar image
0 Votes"
willh asked willh commented

Azure Logic App: How to put dynamic content into Expression field?

I'm in a ForEach loop, I'd like to add a Condition to control flow:

115983-image.png


When I open dynamic content, I can see an item called "Current item". When I click on it, this will put into the field.

115995-image.png

The code is items('Results'), but I want to enter items('Results')['title'] as my left value in the expression.

116004-image.png

So the right way to do is click on "Expression" tab, and enter items('Results')['title'] manually.

115947-image.png

The key point is, it because my colleague is not a professional developer. He don't want to enter this code manually. If I click on the "Expression" tab, than click back to "Dynamic content" tab, then click on the "Current item", this item will put it on Condition's field. But when a dynamic content put it on Condition's field, I can't change it. So I have to remove it, and try to enter it again manually.

115996-image.png

So my question is, how can I click on the "Current item" and put it on "Expression" field so that I can change the expression before the expression put it on Condition's field?


not-supported
image.png (41.6 KiB)
image.png (83.2 KiB)
image.png (39.1 KiB)
image.png (54.3 KiB)
image.png (89.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered willh commented

@willh The Expression Editor will place the token if the text box isn't empty. So even typing in an extra space and then selecting the token ( Current item in this case ) should add it for you to edit.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

That works. Thanks!

0 Votes 0 ·