Flow giving an error if no record found in the lookup activity

Siddharth4
Tera Contributor

Hi Everyone,

 

Flow is giving an error if the lookup activity didn't find any record and the flow stop. As shown below in first step it query the record from table and then store the object id associate to all the records and then for each record it will try to find the associated VM  (Step-3) and server (Step-4) using the object id. But some times there were no server in the server table with the same object id and due to that the flow stops and through an error because of that other record will not get updated so I want to apply a condition so that if no record found in the lookup activity in 4th step then flow can skip only 4th step and will update the record.

 

Siddharth4_0-1712052404969.png

 

Siddharth4_1-1712052728467.png

Thanks

 

12 REPLIES 12

@Siddharth4 Share screenshot of your flow

@SANDEEP28 If you look into the flow below you find that the flow ends at step 6 after if condition rather then skipping the step 4th and continue to update the record

Siddharth4_3-1712138601022.png

 

Mark Manders
Mega Patron

I think the answer was already given? https://www.servicenow.com/community/developer-forum/want-to-skip-the-activity-no-record-found-in-th...

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark