com.snc.process_flow.exception.OpException: Value of field record is not a GlideRecord
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 11:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 12:14 PM - edited 06-21-2023 12:15 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 12:26 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 12:30 PM
Use Look up record action in flow to get the asset record and then you can use that record in Update Record action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 12:50 PM
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.
Below is the dowalking:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 12:54 PM