ServiceNow Learning 40 : Update Reference field via Update Record Action in Flow Designer

Shamma Negi
Kilo Sage
Kilo Sage

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?

 

ShammaSalhotra_0-1695983064854.png

 

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?

 

ShammaSalhotra_2-1695983188221.png

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

Regards,Shamma Negi
0 REPLIES 0