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

Condition after getrow in excel

Hi,

I have a flow that uses getrow to get a value from an Excel file and would like to add a condition based on the result status (Found, NotFound).

How can I setup my condition to deal with it?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @dgoguet ,

 

Could you provide more details about the logic you want to configure in Condition?

Or you could provide a screenshot of the Flow configuration so that we can provide further suggestions for improvement.

 

I guess you want to determine if Get a row action can execute successfully and get corresponding row.

What you need may be to configure "Configure run after", which will display Not found error when Get a row action does not get any value.

 

You could add a parallel branch, when Get a row action fails, it means that expected row is not obtained.

Image reference:

1.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support
Community Support

Hi @dgoguet ,

 

Could you provide more details about the logic you want to configure in Condition?

Or you could provide a screenshot of the Flow configuration so that we can provide further suggestions for improvement.

 

I guess you want to determine if Get a row action can execute successfully and get corresponding row.

What you need may be to configure "Configure run after", which will display Not found error when Get a row action does not get any value.

 

You could add a parallel branch, when Get a row action fails, it means that expected row is not obtained.

Image reference:

1.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks,

That's exactly what I was looking for!

my "get a row" works perfectly when the record is found but fails when the record is not on the Excel file (which is perfectly possible and fine). I was trying to deal with it when I came to your answer.

 

I set up the "configure run after":

SergiPino_1-1602779722072.png

 but I continue having the same error when the item is not found on the Excel file:

 

SergiPino_0-1602779674737.png

 

 

what I'm doing wrong?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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!

Top Solution Authors
Top Kudoed Authors
Users online (2,387)