- 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 09:39 AM
Hi,
Assets are tracked with the Asset Management application, which focuses on the financial aspects of owning property. Configuration items are stored in the CMDB, which is used to track items and make them available to users.
When an asset has a corresponding configuration item, the asset record and the configuration item record are kept synchronized with two business rules.
- Update CI fields on change (on the Asset [alm_asset] table)
- Update Assets on change (on the Configuration Item [cmdb_ci] table)
Note: Assets and CIs can be synchronized only if they are logically mapped.
Source: Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2020 09:50 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2020 10:25 PM
For that, you can copy the OOB business rule and change it as per your requirement and create your own and just deactivate the OOB business rule.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2020 10:08 AM
Hello,
What you are requesting can be done but the question is why would you want to change the OOB functionality to this magnitude? The Asset record represents the financial and physical management of an asset owned by an organization. The CI record contains the utilization and composition data of a device. If you limit Asset/CI pair creation to just the Computer class, you'll be missing a great deal of data for other classes such as routers, switches, wireless access points, racks, etc. Even if your organization has no plans to mature an Asset program in the short term, it is unwise to omit the creation of these records, which will be required when asset management grows in priority.
May I suggest as an alternative creation of a default filter that automatically limits the records seen in the asset list view to just computer assets? This will allow your organization to retain OOB features but limit the visibility of assets to just those records you currently care about.
Follow these instructions to create a default filter.
If you are determined to make a dramatic change, you can modify the "Create CI on Insert" business rule and the "Create Asset on Insert" business rules to include a function to check the Model Catagory and end the function before record creation if it is not Computer.