Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Helping getting Configuration Item for RITM to populate

Wendy Peterson
Tera Guru

I'm trying to get the configuration_item to populate in a Request Item - see screenshot it will only populate for me. When i try it as a ITIL User or a Non Role user won't populate. I even put write on that field thinking that would help and didn't any ideas???

12 REPLIES 12

We have hundreds of software titles and i needed to figure out what they could request and couldn't request and then what needs a license and what doesn't. So that was the only way i could figure out how to accomplish that by adding the 2 fields of Needs License and Can Request. There is probably other ways to do it but since the community boards are my only means of asking for help and i'm the only person here i just did it a way i thought it could work. I don't know what i'd do without this board...


lbr2k
Tera Contributor

Hi Wendy,

I have a similar software installation catalog I am doing. I have 2 variables, License and Non Lic. How are you able to populate CI in both the Request Item and Catalog Task?

Thank you,
Laura


I do it from the Workflow when you create your task. Update the RITM and the Task at the same time. I also do it sometimes before approvals in the RITM just by doing the run script and update the configuration item. If you are pulling a variable they are picking then update it with the variable name. It all depends where you set your CI from if you set it in the item then it's

current.configuration_item = current.variables.software; \\adds the variable that user picks to the RITM

task.cmdb_ci = current.variables.software; \\adds the variable that user picks to the task