Can't i use a catalog variable of type reference to update a record in flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 06:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 06:25 AM
sorry for not pasting text into the original Q, so here it comes:
i want to update a record in FD with the action "update record". the field to update is a reference field to the location table. Earlier in my flow i got the reference value by the action "get catalog variables" from a catalog task record. But when using the data pill of that cat variable, i get the error "Value of field record is not a GlideRecord":
Must i fetch the location record with another "lookup record" action?
Thanks in advance, Uwe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 06:29 AM
Hello @UJandt
May I know which one you are trying to achieve “update a record in flow designer” or “update a record from flow designer”.
for the first option, need to understand it better and the latter is definitely possible.
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 06:58 AM
i mean i want to update a (printer) record by an action (update record) in my flow.
Maybe I looked wrong because i thought the location reference field in my printer record is the problem, but as far as i can see now in my flow execution, the record is empty in my update record step. I assigned the record by the data pill of the action "look up record" which i have done before in that flow. The look up action shows a valid record in my execution, but in the update record it is empty!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 11:20 PM
Out of the box printer are stored in cmdb_ci_printer table where you can assign location to any printer (easily via list view) and if you have created a catalog item where you ask users to select the printer via reference field and then some other variable or variables to update printer record in cmdb_ci_printet table then you need to look at (using look up records) sc_item_option table for variable (just enter the variable question directly) which stores printer and its value.
in the following update record option, you can select cmdb_ci_printer table and select the required field and the new value to be the data pill from
previous sc_item_option value data pill.
Hope that helps!