- 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-15-2020 02:13 AM
Hello Snow
Very easily you can do that.
open that business rule and go to "When to Run" Section,in that set the filtered condition like below.
So that the business rule code will execute only when the class is "personal computer" use and condition to add more class.
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-16-2020 12:41 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-16-2020 03:17 AM
Hello Snow,
Here is the catch.
If you are writing business rules on the ASSET table and you want to do check the class of the "CONFIGURATION ITEM" table then in the condition it should be configuration item.class.
If you are writing business rules on the CI table and want to check ci class then directly access it using the "Class" field.
I hope you got my point.
Please keep posted, if more help required.
If I provided the Right knowledge.Please Mark my answer CORRECT and HELPFUL.
Regards,
Yash Agrawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-18-2020 01:56 AM

- 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