How do you set the CI of a catalog item?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2014 06:32 AM
I am trying to set the configuration_item for a catalog form. I figured all I'd have to do is create a new field on my form named configuration_item and it'd feed it's way through after the form is submitted. That doesn't appear to be the case.
How would I get my form field configuration_item to populate that field on the requested item?
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2014 11:15 AM
Hi.
You can do this by creating a run script activity in the workflow for the form and do a query for the current RITM and set the value from the current.variable.field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2014 11:15 AM
Aaron is correct.
You can populate the CI field on your Requested Item in a "Run Script" workflow activity with the following code:
current.configuration_item = current.variables.v_configuration_item;
"configuration_item" being the name of the field on the RITM form
"v_configuration_item" being the name of the variable on the Catalog Item form
Please also note, that an RITM workflow will not start unless the parent REQ has been approved. So you may not see this value get populated immediately on the RITM form if you have Approvals pending on the REQ.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2014 08:16 AM
Hi Mike,
I think I'm following your exact instructions, but configuration_item on RITM is not populated. I added a field u_configuration_item to the Catalog Item form. It references Business Service CI. I've selected the specific business service that corresponds with the Catalog Item I'm building. In the workflow, I've added a run script workflow activity, as you suggested.
current.configuration_item = current.variables.cat_item.u_configuration_item;
The workflow executes, but the RITM configuration_item is blank. Any help would be appreciated?
Thanks,
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2015 09:59 AM
Did you ever get this to work i am doing something similiar with the blank results... Thanks