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

Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
Super User III
Super User III

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

Power Automate Video Tutorials
Regular 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 blog

Power Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (27,582)