Want to send a notification with the list of records for which the child record is not found in flow

Siddharth4
Tera Contributor

Hello,

 

Want to send a notification with the list of record for which the lookup record is not found in the step 4th. 

In first step it query the record from table and then store the object id associate to all the records and then As shown below 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, so I want to list all those object id for which there is no server record found and then send a notification contains the list of record from the flow.

 

Please help by providing the details to how I can collect the list of records for which no server found and then send only one notification containing that list.

 

I created a action by looking into the post - Using list collector in Flow Designer 'For Each loop' by converting string into array of string but not able to understand in which step I need to apply this action to achieve the required functionality.

 

Siddharth4_0-1713339012758.png

 

4 REPLIES 4

Siddharth4
Tera Contributor

@Ankur Bawiskar, Kindly Help me by letting me know in which step I need to apply this action to achieve the required functionality.

@Siddharth4 

you might have to use IF else and check for which one record was not found and store those in flow variable which is like a global variable

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks @Ankur Bawiskar for quick response, can you please share some more details on how I can create flow variable and add the list of records which I can use in notification as I'm beginner in flow designer. 

 

@Siddharth4 

you should be able to see the example in docs or some blog

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader