Flow Designer- Set a String Value to the Display Value of a Reference Field

jlaps
Kilo Sage

I am creating an asset history table to capture asset state/date/values at the time of the asset returning to stock so they do not change later when the asset gets reassigned. I created a new table, and am setting STRING fields on this new table to values on the alm_hardware table when the status changes for example.

 

If I want to set a CONFIGURATION ITEM field that is a string, from a CONFIGURATION ITEM field that is a reference, how do I get flow designer to do it using the display value instead of the sys_id I am getting now? I have it working where it sets the sys_id, so its grabbing the correct value, I just want the display value instead. I am assuming I need to edit the script piece?

 

jlaps_0-1724953298606.png

 

1 ACCEPTED SOLUTION

Hajar BENJAHHAR
Mega Sage

Hello @jlaps 

 

You can retrieve the name of the configuration item by using dot-walking. Please follow the steps highlighted in orange.I recommend avoiding the use of scripts, as the name can be obtained without any scripting.

Capture d'écran 2024-08-29 202246.png

 I hope you find this helpful!

 

Best regards, 

Hajar

 

 

View solution in original post

5 REPLIES 5

Sandeep Rajput
Tera Patron
Tera Patron

@jlaps You need to dot walk inside the Configuration Item Data field to fetch the name. Please refer to the screenshot for more details.

 

Screenshot 2024-08-29 at 11.58.17 PM.png

Please mark the response helpful and accepted solution if it manages to answer your question.