Error in Flow Designer for "Value of field record is not a GlideRecord"

Divya_hg
Tera Contributor

Hi all,

 

I would request your kind help on one of the issues we are facing in the execution of Flow Designer.

We have a flow step for the lookup of one custom table on a date field.

 

Divya_hg_0-1707988767577.png

 

This is returning records and I see that they are referenced too.

Divya_hg_1-1707988839697.png

 

then we have For loop step to get the look up records where we have error again

Divya_hg_5-1707989218825.png

 

 

Divya_hg_3-1707988951448.png

 

and due to this in Update step we are getting error

Divya_hg_4-1707989081678.png

 

Has anyone faced this error? Would require your help to resolve the issue.

 

Thanks in Advance.

5 REPLIES 5

Anand Kumar P
Giga Patron
Giga Patron

Hi @Divya_hg ,

If you do  multiple levels if dot walking in Update record the you will get this error, refer below threads to resolve issue
https://www.servicenow.com/community/developer-forum/value-of-field-record-is-not-a-gliderecord/m-p/... 
https://www.servicenow.com/community/developer-forum/flow-designer-getting-value-of-field-record-is-... 

 

Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand

Hi @Anand Kumar P 

The tread you have shared contains a mistake on dot walk(they have multiple dot walk)

Do you see any issue here in the above dot walk?

Hi @Divya_hg ,

 

Check if the update is working on the right record. In the Configuration Details, see if the Record’s Runtime Value is correct. If there’s an error, it might mean Flow Designer can’t find the record to update because what’s set in the Update Record action could be wrong.

 

1. “Does the instance have domain separation? Is the data in the same area as the flow?
2. Is the data object referencing a real record? Is the datapill set up correctly?

 

Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand

Hi @Anand Kumar P 

 

The flow is working when I specify the record in look up explicitly. But when I write a javascript condition then it is not working.

 

'When I specify the record means I am providing in condition saying ID is this return a record.'

 

This change is executing all the steps in FD correctly.

 

And it is not domain separated. It is dedicated instance.

Yes, the run time values that it is returning is correct value. The flow is in HR Lifecycle Event scope. The custom table it is referencing is in Global scope. The FD is running by system user.