Error in Flow Designer for "Value of field record is not a GlideRecord"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 01:28 AM
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.
This is returning records and I see that they are referenced too.
then we have For loop step to get the look up records where we have error again
and due to this in Update step we are getting error
Has anyone faced this error? Would require your help to resolve the issue.
Thanks in Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 01:33 AM - edited 02-15-2024 01:40 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 02:16 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 09:06 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 12:07 AM - edited 02-16-2024 12:10 AM
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.