How to auto populate configuration item field on incident table from a record producer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2020 12:32 PM
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?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2020 03:21 AM
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