com.snc.process_flow.exception.OpException: Value of field record is not a GlideRecord

Jiajie Li
Tera Contributor

Would anyone know what this error means? I keep getting it when running the flow below. I am simply updating an asset to In Use and assigning an name to the asset. 

 

Capture.PNG

Capture.PNG

Capture.PNG

Capture.PNG

12 REPLIES 12

Manmohan K
Tera Sage

Hi @Jiajie Li 

 

Yes Exactly right

That is the issue, you cannot provide asset as it is reference type and system is expecting record type value in record field

Use only record type value to fill that Record in flow designer as shown below. Reference, date/time, list or any other type will throw error

 

ManmohanK_0-1687374806649.png

 

 

 

Jiajie Li
Tera Contributor

Is there a way to do that to reference the asset? I tried dotwalking to the asset but I don't see an option. This Update Record action should update the asset state to In Use and assign the requested_for name to the asset. 

Manmohan K
Tera Sage

@Jiajie Li 

 

Use Look up record action in flow to get the asset record and then you can use that record in Update Record action

Jiajie Li
Tera Contributor

I added that in but ran into a different error: com.snc.process_flow.exception.OpException: The requested flow operation was prohibited by security rules.

 

I checked and confirmed I have admin access though so I'm not sure what is blocking the flow.

 

Capture.PNG

Below is the dowalking:

Capture.PNG

 

@Jiajie Li 

 

Use condition

SYS Id instead of asset tag