Auto- Populate service level field based on selection of affected CI on Incident table

deepikagang
Tera Contributor

Hi All,

Want to populate custom field (u_service_level) based on selection of affected ci reference to cmdb_ci table.

 

deepikagang_0-1739783778431.png

 

Thank you in advance

 

Best regards

Deepika

15 REPLIES 15

Hi @Ankur Bawiskar ,

Thank you for your reply,

I have tried the first approach and created field on incident but no luck.
And didn't get your second way.
Can you please help.

deepikagang_0-1739788366606.png

 

deepikagang_1-1739788381444.png

 

@deepikagang 

which field from CI table you want to fetch?

did you give the correct name here?

		g_form.setValue('u_service_level', ref.<fieldValueToFetch>); 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Reference is correct. Its a custom field u_service_field .

deepikagang_0-1739789399377.png

 

@deepikagang 

are you sure there is value in this field for the Affected CI?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

yes, 

deepikagang_0-1739790050115.png