How to fix "Value of field record is not a GlideRecord" error log in flow designer

chanikya
Tera Guru

Hi All

Please help me how to this error message.

getting Error like "Value of field record is not a GlideRecord" .

find_real_file.png

--------------- 

find_real_file.png

 

 

Result : Error 

find_real_file.png

12 REPLIES 12

OlaN
Giga Sage
Giga Sage

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 ?

Hi OlaN,

Thanks for reply.

find_real_file.png

 

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.

find_real_file.png

2.  For Logs purpose i have added like this.

find_real_file.png

find_real_file.png

-------------------------------------------------------------------------------------------------------

 

3. Some times it is giving success with Case Number.

find_real_file.png

 

 

Some times giving Error . Kindly help me how to fix this issue with permanent solution .

 

 

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.

find_real_file.png