Flow designer Action - Glide Record Null

Thomas Smith5
Kilo Expert

I'm getting a very strange issue when building a custom task in ServiceNow flow designer. 

As you can see in the picture below the variable incident is empty at run time when it's being used for the notification step. But the notification variable is fine. 

This error shows up even if I change the incident variable input type to Document Id.incident rather than reference.incident.

find_real_file.png

I can't figure out why the input is populated fine, but when it's used it's suddenly blank.

-Thanks!

2 REPLIES 2

Erik Gunther2
Kilo Guru

You may need to pass in the Sys_id instead and then lookup the record using GlideRecord.

 

find_real_file.png

find_real_file.png

I hope this helps.

I wrote a quick script that performed a GlideRecord query on the incident table, yet it couldn't find the record. Additionally if I just have a "look up record" step it also can't find any record I seem to pass to it. 

I think this might be a call for Hi to be honest. Thank you for your help.