- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 12:11 PM
I've been running live in ServiceNow (Geneva) for a few months now. One major mistake I made in the very beginning was that my Catalog Items are not recording a Configuration Item on the RITMs. Obviously this is a major problem when it comes to reporting on the type of work being submitted for each configuration item.
Now my task is to figure out a way to populate each of these RITMs (going forward, not the ones already submitted) with a configuration item.
I'm looking for some guidance on the best way to do this but I think I have an idea.
Would it be acceptable to add a new variable (variable set? so it's reusable?) to each of the Catalog Items and call it "var_My_ConfigItem".
Then I think I need to update the workflows used by these configuration items to record this information on the RITM.
Unfortunately, this is still a bit out of reach for me with my limited experience on the platform.
Any guidance is greatly appreciated!
Thanks all!
M
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 12:19 PM
Hi Michael,
You can create a variable which references cmdb_ci table and in the workflow add Run script activity and use this line in the script section to set the configuration item on request item
current.configuration_item=current.variables.<variable name>;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2016 01:54 PM
This is how your script will look like.
function onLoad() {
g_form.setValue("your variable name","sys_id of the configuration item");
}