how is impacted business appllication is populated from change Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
I want to know how impacted business application are link from the change request whenever a CI is added to a change request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
The Impacted Business Applications list on a change is populated by the Refresh Impacted Services logic, which derives business applications from the Impacted Services/CIs related list and writes them into the "task_cmdb_ci_business_app" table when the relevant property is enabled,
And this property "com.snc.change_request.populate_business_application"
When "True" ServiceNow populates the Business Applications related list on the change from the records in Impacted Services/CIs.
When "False" the Business Applications related list is not updated or amended by the refresh flow.
This same feature stores the derived business‑application entries in the task_cmdb_ci_business_app table, which is used to populate the Business Applications related list on the change form.
For more details answer you can go through the below links:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @Akansh
Once you have enabled the relevant Change Properties:
- Impacted Services is populated with Service Instances related to the records in Affected CIs. These relationships are pulled from the Service Configuration Item Association [svc_ci_assoc] table, which is populated for each type of Service Instance upon configuration and set up. The functionality is in the TaskUtils Script Include.
- Impacted Services is also populated with the record entered into the "Service" field on the form via a Business Rule.
- Service Offerings is populated with all of the Service Offerings that are a parent of the Business/Technology Management Service in Impacted Services (if there is one). The functionality is in the TaskOffering Script Include but OOTB this is totally incorrect and does not align with CSDM. See this article for the steps required to customise the Script Include to calculate Impacted Service Offerings properly: https://www.servicenow.com/community/common-service-data-model/refresh-impacted-services-improved-ou...
- I'd recommend re-labelling Service Offerings to Impacted Service Offerings to align with the other related list names.
- Service Offerings is also populated by the record entered into the Service Offering field on the form via a Business Rule.
- Impacted Business Applications is populated with all of the Business Applications that have a Consumes::consumed by CI Relationship with any of the Service Instances in the Impacted Services related list. This is populated via the TaskBusinessApp Script Include.
I hope this helps!
Mat
Mat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @Akansh
Refer: SN Doc: Refresh impacted services and CIs for Change
ITSM Impacted Services - sample execution & overall considerations
Refresh Impacted Services Improved outcome
1. System property:
| com.snc.incident.populate_business_application | true | Upstream business applications are populated on a dedicated related list [task_cmdb_ci_business_app]. |
2. The Impacted services and CIs related list refreshes its records and also the records listed in the Service Offerings and Business Applications related lists based on the affected CIs.
3. Manually selecting the Refresh Impacted Services option from contextual menu.
Procedure
- Navigate to All > Change > Open.
- Open the change record for which you want to refresh the related lists those values are based on affected CIs.
- Click the Additional actions icon
and then select Refresh Impacted Services.The records in the Impacted Services/CIs, Business Applications, and Service Offerings related lists are updated according to this flow:- If the change.refresh_impacted.include_affected_cis property is set to true, all the services from svc_ci_assoc table are retrieved. If the property is set to false, then services are retrieved from CIUtils script include.
- If the change.conflict.populateimpactedcis property is set to true, then additional services are retrieved from ChangeCollisionHelper and added to the list of services.
- If the Service Mapping plugin is active, then Application Services are retrieved. These are retrieved, whereby, the association type is Runs On, and the association child is one of the CIs in the affected list.
Once all these services are correlated, a new list is added, and the existing items in the related list are removed, where the manually_added flag is set to false.
The list of services is then used to populate the Business Applications and Service Offerings if the properties are enabled.
