cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ananda Advocate I
Advocate I

Flow status is showing failed, But all the steps are showing successful

 

Hi

I'm facing a strange issue.

The Flow status is showing failed, But all the steps are showing successful (inserted data into SharePoint List). I've checked the action, it's assigning string value into a variable. No data mismatch. Changed the variable name from Month to Months but the results are same.

 

The flow got the following steps

  1. Connects to SharePoint Document Library
  2. Loads a .CSV file
  3. Initialize some variables
  4. Parse the .CSV file data in a Loop
  5. Assign values to those variables inside the loop
  6. Insert data into a SharePoint List inside the loop

It's showing error while assigning a value, which is a String data type.

Any body faced this kind of issue before? 

 

Thank you

Please find the screen sort.

SCR1.png

 

Made some changes, Remove some steps (variables), Results are same, Data added in SharePoint List, with error in Action 'Create_item' failed, All though it's showing success in the Create Item.

scr2.png

 

Any idea??

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
ananda Advocate I
Advocate I

Re: Flow status is showing failed, But all the steps are showing successful

The issue is been identified. It's a blank row, which is getting added at the time of splitting the file content at the end, So used Filter array with following expression, @equals(empty(item()),false). and it worked.

 

SCR1.png

View solution in original post

1 REPLY 1
ananda Advocate I
Advocate I

Re: Flow status is showing failed, But all the steps are showing successful

The issue is been identified. It's a blank row, which is getting added at the time of splitting the file content at the end, So used Filter array with following expression, @equals(empty(item()),false). and it worked.

 

SCR1.png

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 (9,788)