ServiceNow Learning 40 : Update Reference field via Update Record Action in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 03:28 AM - edited 09-29-2023 03:29 AM
Hi All,
This is a very useful tip whenever you update any reference field on a table via "Update Record" Action in Flow Designer.
Always remember as you are updating the Reference field via Flow and Reference field takes the sys_id/record so always use the below practice while updating the reference field
What is the right Practice?
Always use the record as it is reference record. Never go inside the record and select the same field value as it will be string
What is wrong Practice?
Never select the field by dot walk as if you go to field by dot walk it will have a string value
Note : If you do Wrong approach as shown above. Flow will not fail it will succeed however the reference value will be set but it will always show empty when you click on i icon.
Hope this helps.
Please mark this helpful if this helps you.
Thanks,
Shamma