The CreatorCon Call for Content is officially open! Get started here.

Set reference field value from flow designer action

Renu9
Tera Contributor

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

find_real_file.png

16 REPLIES 16

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

 

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)

Seeram
Tera Contributor

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