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

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

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