The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Autopopulate fields on RITM/SCTASK

Zubair Alam
Tera Contributor

Hello Techies and Enthusiasts.
Please help me with this requirement. 
How can we autopopulate the RITM/SCTASK fields for Configuration Item/Affected Customer values from the ticket selected on a catalog item form variable as shown below. 
All suggestions are greatly appreciated. Thanks. 

 

ZubairAlam_1-1741813249556.png

 

 

 

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@Zubair Alam 

is that Ticket Number referring to cmdb_ci table?

what's your exact requirement?

You want to populate those 2 catalog variables based on Ticket number selected?

If yes then check this

Auto-populate a variable based on a reference type variable (Utah) 

If not then what's your requirement?

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

View solution in original post

Hi @Zubair Alam,

 

Please follow the instructions I shared to Auto-Populate your fields. I believe I have answered your query in first place.

 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

View solution in original post

7 REPLIES 7

Hi @Ankur Bawiskar 
So the exact requirement is that whatever SCTASK a user picks from that field on this catalog item form, the affected customer/configuration Item values from that SCTASK should populate the affected customer/configuration item fields of the sctask that will get generated as a result of this form submittal. 
Thanks. 

@Zubair Alam 

so you can use auto populate feature as shared in my link

Auto-populate a variable based on a reference type variable (Utah) 

OR

You can use onChange client script on that variable + GlideAjax and bring the value from CI and populate in those 2 variables

what did you start with and where are you stuck?

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

@Ankur Bawiskar Thanks for all the help. It worked for me.