cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alexej1
Frequent Visitor

Get last row in sharepoint list item description

Hello

 

I'm trying to build a flow that extract the message id, who is in the last row from a sharepoint list item description.

 

This flow creates a list item out of an email. It puts the message id in the last row from the description box.

messageid.png

 

And in this flow, I want that when I add a comment in the issue list item, it extract the message id from the last row in the description box and reply to that email with the last comment I typed in the list item.

putmessageid.png

 

If you have any better ideas how I can this solve, I would appreciate it. I'm new in power automate 😊

 

Greetings

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @alexej1 

 

Looks like comment is null. You need to check whether comment is null or not? Then add the compose and update under the Yes statement.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @alexej1 

 

Just before Reply to email(v3) add an action called Compose and do the below expression.

 

last(split(triggerBody()?['Description'], '#########'))

 

image.png

Then in your Reply to email(v3) step you can map the output of the Compose.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
alexej1
Frequent Visitor

Hi abm

 

Thanks for your efforts. But the flow showing followed error:

 

flowerror2.png

 

flowerror.png

Hi @alexej1 

 

Looks like comment is null. You need to check whether comment is null or not? Then add the compose and update under the Yes statement.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,884)