Flow Action "Look Up Record" logging error "No Record Found"

SWills
Tera Expert

We're trying to keep our error logs clean, in order to monitor for actual issues.

In a specific flow, there is a "Look Up Record" Action, that is in place to make the subsequent task creation happen IF there IS a record found. The "Don't fail on error" option has been checked, and the flow works.

My issue is that when this action returns no records, the system logs get updated with an Error log (not helpful) saying "No Record Found". How can I make it not log this?

find_real_file.png

 

1 ACCEPTED SOLUTION

SWills
Tera Expert

This does not prevent the error log from kicking off.

I used Flow Variables to work around it as an issue. We're just trying to keep logs clean as possible, unfortunately there doesn't seem to be a way to prevent that Flow Action from logging if no records are returned.

View solution in original post

3 REPLIES 3

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi SWills

Try using "Look Up Records" step instead of "Look Up Record". Set conditions and "Max Results" to 1. Have a "If" condition to check if the "Count" "is not" "1" and to end flow.

find_real_file.png

SWills
Tera Expert

This does not prevent the error log from kicking off.

I used Flow Variables to work around it as an issue. We're just trying to keep logs clean as possible, unfortunately there doesn't seem to be a way to prevent that Flow Action from logging if no records are returned.

Sai Manoj Aradh
Tera Contributor

Hi, Change the properties of the flow: Run as to "System User" instead of "User who initiates the session"