How to fix "Value of field record is not a GlideRecord" error log in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2021 09:26 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2021 03:01 AM
Hi,
Is the Case record not defined?
In the error image, it should have a sys_ID as runtime value if it is a defined record.
In the shared image, it's blank.
Can you insert a Log action just to make sure you get the sys_ID of the Trigger->Case Record ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2021 09:13 AM
Hi OlaN,
Thanks for reply.
1. this is Inbound action right , So in sys_email table Target Field type is "document_id", that why it is showing document_id field.
2. For Logs purpose i have added like this.
-------------------------------------------------------------------------------------------------------
3. Some times it is giving success with Case Number.
Some times giving Error . Kindly help me how to fix this issue with permanent solution .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2021 11:27 PM
You will need to identify why the system sometimes doesn't match the emailrecord->target to a case.
There must be something different between the emails that does match a Case-record and those emails that doesn't match a record.
Also, I meant putting a separate Log action in the flow directly after the trigger something like this
Then you could also put in some additional logging if the
Trigger->Email record-> Target is blank
to figure out why it has not been matched to a target.