cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
alexej1
Level: Power Up

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

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!



View solution in original post

3 REPLIES 3
Super User
Super User

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!



alexej1
Level: Power Up

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

Super User
Super User

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!



View solution in original post

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,728)