cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

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 🙂

 

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 🙂

 

Thank you!

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

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

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

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

View solution in original post

Highlighted
Advocate I
Advocate I

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 🙂

 

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

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (7,494)