Set reference field value from flow designer action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-16-2022 05:56 AM
Hi All,
I am having a sample change requests field (list type) in table A. When the record on table A gets closed, I am triggering a change task to create. I need to populate change request (reference field) value with the values from the sample change requests in table A. As its a list type, I need to display any one of the sample change request from the list.
Please find the screenshot below. I am getting the sys id of the change request but its not getting set to the change request field on change task. Kindly suggest any changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-17-2022 05:39 AM
Hi Renu,
Please try the below code, this should achieve the requirement.
var chngreq = fd_data.trigger.current.change_requests;
return chngreq;
Thanks,
Mohit Kaushik
Community Rising Star 2022
Mohit Kaushik
ServiceNow MVP (2023-2025)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-25-2022 02:30 PM
How do I send Configuration Item value in flow designer? Its a reference field and wanted to send to create a incident. Please help out . Thanks