chassis type getting updated

chintuchairmen
Tera Expert

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"

2 ACCEPTED SOLUTIONS

Deėpak Sharma
Mega Sage

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

     

 

 

View solution in original post

thanks use flow designer with same conditions

View solution in original post

7 REPLIES 7

Hi @Deėpak Sharma ,

 

thanks for solution will check and update , also i was thinking br would run every time sccm or solarwinds will update the value. also br would monitor sccm or solarwinds or discovery update right if they try to update?

thanks use flow designer with same conditions

@chintuchairmen 

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