Lookup record action failing with "No Record found"

burtond_
Kilo Contributor

I'm trying to do a simple incident record lookup in an event management subflow, but I'm getting a "No Record found" error and processing stops.  If it can't find a record, I just need it to say so and continue on to the next step in the subflow.  Is this a bug in Madrid?

 

BTW, a Google search returned a similar problem reported with Kingston:  https://community.servicenow.com/community?id=community_question&sys_id=753b8beddb5cdbc01dcaf3231f96...

Here is a screenshot of the problem:

find_real_file.png

7 REPLIES 7

Geoff_T
Mega Sage

Thankfully this has been enhanced in Paris version:

https://community.servicenow.com/community?id=view_idea&sysparm_idea_id=6305f275db604010f7fca851ca96190b&sysparm_idea_table=x_snc_com_ideation_idea&sysparm_module_id=enhancement_requests

 

There is now a 'Don't fail on error' checkbox on this action. I tested it and it works well.

jxsaxton421
Tera Guru

Does anyone know if this is a design problem with the singular look up record action? We were using an encoded query and the box is checked not to fail on error - but if "No records are found" it still throws an error and stops the subflow. 

We adjusted to the workaround to use the multiple lookup records action and that continued. Is there a technical reason the singular action does not work when no results are found? 

Vaishali Sharma
Kilo Contributor

Dont fail on error is not working always. I am getting the same error even if i check it. Is there any known bug?