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

Will 保哥 61 Reputation points
2021-07-19T17:32:56.877+00:00

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?

Community Center Not monitored
0 comments No comments
{count} vote

Accepted answer
  1. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2021-07-22T14:23:04.683+00:00

    @Will 保哥 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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.