- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hi all, for some of the server ci , chassis type is coming desktop , if we manually update , tried creating manaul reconcile rule but did not work . how can i restrict update from sccm or servicenow if updated manually .
business ask if model.name have virtual then chassis type should be "server" or "other"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hi @chintuchairmen
Create an onBefore Business Rule:
-
Table: Server [cmdb_ci_server] or Windows Server [cmdb_ci_win_server] depending on your scope
-
When: before Insert and Update
-
Condition: Model.Name [contains] virtual AND Chassis type [is] Desktop
-
Script:
(function executeRule(current, previous /*null when async*/) { current.setValue('chassis_type', 'Server'); })(current, previous);Happy to help! If this resolved your issue, kindly mark it as the correct answer ✅ and Helpful and close the thread 🔒 so others can benefit too.
Warm Regards,
Deepak Sharma
Community Rising Star 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @chintuchairmen , can you give more info about for your config in manual reconcile rule?.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @annb19, i created reconcilation rule for manual entry , thinking that server owner could manually update and it wont again override by sccm , the manual CI update is not being captured as an IRE data-source update; therefore, the reconciliation rule cannot be used to retain the manual value as the source of truth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hi @chintuchairmen
Create an onBefore Business Rule:
-
Table: Server [cmdb_ci_server] or Windows Server [cmdb_ci_win_server] depending on your scope
-
When: before Insert and Update
-
Condition: Model.Name [contains] virtual AND Chassis type [is] Desktop
-
Script:
(function executeRule(current, previous /*null when async*/) { current.setValue('chassis_type', 'Server'); })(current, previous);Happy to help! If this resolved your issue, kindly mark it as the correct answer ✅ and Helpful and close the thread 🔒 so others can benefit too.
Warm Regards,
Deepak Sharma
Community Rising Star 2025
