<h2>CMDB CI Lifecycle and Operational Status Synchronization is Unidirectional</h2><br/><div style="overflow-x:auto"><style type="text/css"><!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } </style><div class="ns-kb-css-body-editor-container"> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"><span style="font-weight: bold;">Issue:</span></p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;">CMDB CI Lifecycle and Operational Status Synchronization is Unidirectional - Why Operational Status changes update Lifecycle Stage, but Lifecycle Stage Changes don't update Operational Status?</p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"> </p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"><span style="font-weight: bold;">Facts:</span></p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;">In a ServiceNow CMDB instance with CI-to-Asset sync enabled:</p> <ol style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11pt; font-weight: normal; font-style: normal; list-style-position: inside;" type="1"><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;" value="1"><span style="font-weight: normal; font-style: normal; font-family: Calibri; font-size: 11.0pt;">When CI's </span><span style="font-style: normal; font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Operational Status</span><span style="font-weight: normal; font-style: normal; font-family: Calibri; font-size: 11.0pt;"> is changed from "Operational" to "Retired," the </span><span style="font-style: normal; font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Lifecycle Stage</span><span style="font-weight: normal; font-style: normal; font-family: Calibri; font-size: 11.0pt;"> and </span><span style="font-style: normal; font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Lifecycle Status</span><span style="font-weight: normal; font-style: normal; font-family: Calibri; font-size: 11.0pt;"> automatically update to "End of Life" and "Retired" respectively.</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-family: Calibri; font-size: 11.0pt;">When CIs </span><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Lifecycle Stage/Status</span><span style="font-family: Calibri; font-size: 11.0pt;"> is changed directly, the </span><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Operational Status</span><span style="font-family: Calibri; font-size: 11.0pt;"> field does </span><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">not</span><span style="font-family: Calibri; font-size: 11.0pt;"> automatically update.</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-family: Calibri; font-size: 11.0pt;">This behavior is intentional and by design when the system property </span><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">csdm.lifecycle.sync.between.ci.and.asset.activated</span><span style="font-family: Calibri; font-size: 11.0pt;"> is set to </span><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">true</span><span style="font-family: Calibri; font-size: 11.0pt;"> and the CI is linked to an Asset.</span></li></ol> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"> </p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #fa0000;"><span style="font-weight: bold;">Release:</span></p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;">All</p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"> </p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #fa0000;"><span style="font-weight: bold;">Resolution:</span></p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;">The asymmetrical synchronization between Operational Status and Lifecycle Stage is controlled by two separate Business Rules on the cmdb_ci table, each with distinct conditions:</p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"><span style="font-weight: bold;">Forward Direction (Operational Status → Lifecycle Stage) — ACTIVE</span></p> <ul style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; list-style-position: inside;" type="disc"><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Business Rule Name:</span><span style="font-family: Calibri; font-size: 11.0pt;"> "Update life cycle from legacy"</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Condition:</span><span style="font-family: Calibri; font-size: 11.0pt;"> Gated only by the </span><span style="font-family: Calibri; font-size: 11.0pt;">lifecycle-migration</span><span style="font-family: Calibri; font-size: 11.0pt;"> property</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Behavior:</span><span style="font-family: Calibri; font-size: 11.0pt;"> When the legacy Operational Status field is updated, this Business Rule automatically converts the change into the CSDM Lifecycle Stage and Lifecycle Status fields</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Result:</span><span style="font-family: Calibri; font-size: 11.0pt;"> Runs on all environments where the </span><span style="font-family: Calibri; font-size: 11.0pt;">lifecycle-migration</span><span style="font-family: Calibri; font-size: 11.0pt;"> property is enabled</span></li></ul> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"><span style="font-weight: bold;">Reverse Direction (Lifecycle Stage → Operational Status) — SUPPRESSED</span></p> <ul style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; list-style-position: inside;" type="disc"><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Business Rule Name:</span><span style="font-family: Calibri; font-size: 11.0pt;"> "Update legacy from CSDM"</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Condition:</span><span style="font-family: Calibri; font-size: 11.0pt;"> This rule deliberately </span><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">skips execution</span><span style="font-family: Calibri; font-size: 11.0pt;"> when: </span> <ul style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; list-style-position: inside;" type="circle"><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-family: Calibri; font-size: 11.0pt;">The system property </span><span style="font-family: Calibri; font-size: 11.0pt;">csdm.lifecycle.sync.between.ci.and.asset.activated</span><span style="font-family: Calibri; font-size: 11.0pt;"> is set to </span><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">true</span><span style="font-family: Calibri; font-size: 11.0pt;"> (CI ↔ Asset sync enabled), AND</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-family: Calibri; font-size: 11.0pt;">The CI is linked to an Asset</span></li></ul> </li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Behavior:</span><span style="font-family: Calibri; font-size: 11.0pt;"> The rule is intentionally bypassed to prevent update loops between the CI and its linked Asset</span></li><li style="margin-top: 0; margin-bottom: 0; vertical-align: middle;"><span style="font-weight: bold; font-family: Calibri; font-size: 11.0pt;">Result:</span><span style="font-family: Calibri; font-size: 11.0pt;"> Reverse synchronization does not occur on customer instances with Asset sync enabled</span></li></ul> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #fa0000;"> </p> <p style="margin: 0in; font-family: Calibri; font-size: 11.0pt;">The two Business Rules are intentionally <span style="font-weight: bold;">mutually exclusive</span> to prevent circular update loops. When a CI is synced with an Asset record, allowing bidirectional updates between Operational Status and Lifecycle Stage would cause the CI and Asset to continuously trigger updates on each other.</p> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></div>