cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
drsabrosa
Regular Visitor

Power Automate Filter Array Out of Bounds Error

HTML Table from Email into SharePoint List​

@Paulie M  I followed all your instructions but I'm stuck on the last one. Can you help with this error?

 

The template language expression 'split(item(), '^')[3]' cannot be evaluated because array index '3' is outside bounds (0, 2) of array. Please see https://aka.ms/logicexpressions for usage details.'.

 

I did notice that there is an extra line (a link) after the last row in the table. How do I remove that last line that I don't need? Thanks again.

2 ACCEPTED SOLUTIONS

Accepted Solutions
VictorIvanidze
Community Champion
Community Champion

13 split() functions to get 13 variables? Really? Just one split is quite enough.

I think you have to rewrite your flow.  Sorry I have to leave so I cannot help you today any more. Maybe somebody else will do.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

View solution in original post

drsabrosa
Regular Visitor

@VictorIvanidze Thank you for your time. I'll figure out another way. Have a good day.

View solution in original post

9 REPLIES 9
VictorIvanidze
Community Champion
Community Champion

Could you show your flow?

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.
drsabrosa
Regular Visitor

.

drsabrosa
Regular Visitor

@VictorIvanidze 

Hi, here is my flow. It is triggered when a new email arrives. I am following the instructions from this you tube video. https://www.youtube.com/watch?v=IwRKWaTnl3U&t=451s I'm stuck on the very last part.

drsabrosa_0-1648379009332.png

 

 

VictorIvanidze
Community Champion
Community Champion

Please show the output of "Filter array" action

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Here is the filter array output. I blocked out confidential information.

drsabrosa_0-1648386446203.png

 

VictorIvanidze
Community Champion
Community Champion

Expand the last action "Select..."

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

drsabrosa_0-1648387193348.png

 

VictorIvanidze
Community Champion
Community Champion

13 split() functions to get 13 variables? Really? Just one split is quite enough.

I think you have to rewrite your flow.  Sorry I have to leave so I cannot help you today any more. Maybe somebody else will do.

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.
drsabrosa
Regular Visitor

@VictorIvanidze Thank you for your time. I'll figure out another way. Have a good day.

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,146)