How to auto populate configuration item field on incident table from a record producer?

Vihar3
Tera Contributor

Hi all,

I have a requirement to auto populate configuration item (cmdb_ci) on incident form. I need only few items, so I have added those under u_catalog_data table. There is a variable with lookup select box type in record producer which displays the name of the items, the item which is selected in the variable should be auto populated in the incident form.

Can anyone help me with the scripting?

5 REPLIES 5

Prasant Kumar 1
Kilo Sage

Hi,

Please follow the below steps:-

Step 1:- Create a record producer on incident table.

Step 2:- Create the variable type reference on the record producer and map that variable to Configuration field on incident form.

Step 3:- Go to type Specification section of the variable and refer to your cmdb_ci table only.As the configuration item field on incident form refers to cmdb_ci table so that the variable should also refer to cmdb_ci table, otherwise sys_id mismatch occurs on configuration field on incident form.

 

If i was able to solve your query, please mark my answer correct and helpful.

Thanks & regards

Prasant kumar sahu