cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alexej1
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
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!

Learn more from my blog

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!

Learn more from my blog
alexej1
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
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!

Learn more from my blog

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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
Users online (7,140)