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

SOLVED - Expression Keyword - How do I find the keyword to use in this expression?

Hello,

 

Disregard this post - I can't find where to delete posts - I found a different way to do the same thing although I am very grateful to learn about expressions Smiley Happy

 

I saw the general idea of how to use expressions and use variables within flow in this post: How to capture all responses from user @v-xida-msft

 

Here is an expression from that post:

 

concat('ApproverName: ',item()?['responder']?['displayName'],' ResponseDate: ',item()?['responseDate'],' Comment: ',item()?['comments'],'</br>',variables('AllResponses'))

How did this person get the correct "keywords" for each item? Is there a site somewhere that lists these? For example, the output for ApproveName is "responder" and the output for Comment is "comments". 

 

I need the keyword for Approvers Response (like Reject/Approve). I tried:

 

' Response: ',item()?['responses'],

AND

 

' Response: ',item()?['response'],

And neither worked? 

 

Here is the entire expression as I am using it...

 

concat('ApproverName: ',item()?['responder']?['displayName'],' ResponseDate: ',item()?['responseDate'], ' Response: ',item()?['responses'], ' Comment: ',item()?['comments'],'</br>',variables('AllResponses'))

 

Please help Smiley Happy

 

Thank you!

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: SOLVED - Expression Keyword - How do I find the keyword to use in this expression?

Hi @beginAgain,

 

Do you want to know how person get the correct "keywords" for each column?

 

You could add a Compose action in the flow, and choose to insert the dynamic content of the column in the Compose field, the you could copy the dynamic content of the column in the Compose and paste it some where to know the expression of the column.

Capture.PNG

And the expression of Approver name as below:

items('Apply_to_each')?['responder']?['displayName']

Capture.PNG

The expression response as below:

body('Start_an_approval')?['response']

 

Please let me know if you could learn from it.

 

Best regards,

Alice

2 REPLIES 2
Community Support Team
Community Support Team

Re: SOLVED - Expression Keyword - How do I find the keyword to use in this expression?

Hi @beginAgain,

 

Do you want to know how person get the correct "keywords" for each column?

 

You could add a Compose action in the flow, and choose to insert the dynamic content of the column in the Compose field, the you could copy the dynamic content of the column in the Compose and paste it some where to know the expression of the column.

Capture.PNG

And the expression of Approver name as below:

items('Apply_to_each')?['responder']?['displayName']

Capture.PNG

The expression response as below:

body('Start_an_approval')?['response']

 

Please let me know if you could learn from it.

 

Best regards,

Alice

beginAgain
Level: Powered On

Re: SOLVED - Expression Keyword - How do I find the keyword to use in this expression?

Alice,

 

This is not necessarially what I was looking for but I did learn something from it - thank you Smiley Happy

 

I really like expressions/variables but have a LOT to learn...

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

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!

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: 184 members 4,047 guests
Please welcome our newest community members: