cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Super User III
Super User III

Re: Get last row in sharepoint list item description

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 blog

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Get last row in sharepoint list item description

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 blog
Highlighted
New Member

Re: Get last row in sharepoint list item description

Hi abm

 

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

 

flowerror2.png

 

flowerror.png

Highlighted
Super User III
Super User III

Re: Get last row in sharepoint list item description

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 blog

View solution in original post

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!

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