- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2020 09:17 AM
Hello,
I am new to ITAM module. Please help how to implement the below requirement.
I want to create CI from asset and create asset from CI for only Computer class in a bidirectional way but need to prevent any other CI to create from asset but assets can be created from CI.
Do i need to update Business Rules?
Please help me to achieve this.
Thanks in advance!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 02:27 AM
Hello Ssnow,
No, you don't need to add anything in that.just add Condition like
ci's class is Computer.
The code is already there given by ServiceNow, you just need to set the condition, so that the code for inserting/updating ci and asset execute only when the condition matched.
Snow,If you fell my answer helps you reach ti your goal,and If provided right Knwledge to you ,then will you Please Mark my answer as CORRECT and HELPFUL.
And close the coverstion,It will also help other who are seraching for same answer.
Regards,
Yash Agrawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2020 10:41 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2020 01:30 PM
Yes, you can change the start criteria to only start when the class or model category is computer or printer. Alternatively, you could leave the start condition as is and modify the advanced script to contain a function that checks for the model category/class and only continues if it is one of computer or printer. Just be sure you understand that you are subverting the out of box functionality. If you are a customer admin be sure to document the change so those who work in the instance behind you understand what you did and why. If you are a consultant working for a customer, be sure you include this modification in your documentation so the customer understands they've moved from oob and why the change was made. All of this said I would still like to recommend you do not make this change. Instead, build list view filters to prevent visibility of records you do not wish to see. When this customer decides they want to use the records, they will be there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 01:25 AM
Hi Daniel,
Thanks Daniel. Just a query, if i set the filter in asset table as model category is computer or printer, then when the user clicks on the 'New' button by default the model category is set as 'Computer'. So if the user wants to create a CI with model category as 'Printer', he/she needs to change the Model category as 'Printer'.
As per my understanding, let me know if the above statement is correct.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 01:54 AM
Hello SSnow,
WE already have an OOTB business rule written on the configuration item table. which creates ASSET Record on insert of CI record.
As same as you also have the "Create CI " business rule on Asset Table.
Use that same code. Please refer below image
No need to create it once again just configure it.
Please keep posted if more help required.
Please Mark it helpful/correct if my answer helps in any way to resolve your query.
Reach out to me if any more help required.
Regards
Yash.K.Agrawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2020 02:07 AM
Hi Yash,
Yes these two BRs are already configured in the system. But my question is we need to create/update assest/CIs only for computer and printer class. So how can we configure that in these two BRs?