Migrate associated Controls on Entities from business app to technical service table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 07:10 AM
Team,
I have a requirement to migrate all existing associated controls on Entities [sn_grc_profile] from the business app [cmdb_ci_business_app] to technical services[cmdb_ci_service_technical] through the fix script.
applies to record: [applies_to] [field] reference of a business app to technical service table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 08:39 AM
Hi @Rajareddy_VR ,
Please share your script so that I can help you make it perfect.
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 10:36 PM
Hi @Rajareddy_VR ,
Why do you need a fix script for this requirement.
You can simply remove the entity filter condition from the Entity type attached to the control Objective.
and create a new filter condition with Technical services[cmdb_ci_service_technical] as table name and with specific conditions, and add it to the control objective , then automatically the entities from the technical services[cmdb_ci_service_technical] table will have the controls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 10:59 PM
@Community Alums, We need to update the existing records. it is not happening by adding a filter condition change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 11:39 PM
Hi @Rajareddy_VR ,
Unfortunately for the existing records , you cannot change it. It's the not the best practice.