Child and Parent request affected Ci's should be in sync
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2024 02:37 AM
Hi Team
we have a requirement , if any CI's that get added or removed from affected CI related list of child task(change_task) same needs to be added or removed from parent request (change-request) both should be in sync
how can we implement this can any one suggest ?
Regards
Rak**bleep**h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2024 05:04 AM
Interesting ask and must be OOTB but it is not there. For this you need to write BR after insert ./ update but the challenges it may impact the change page performance. I am not developer so cnat help with code.
High level
Capture all Affected CI / Impacted Services in array for change and task
Then compare first impacted Services
Then compare Affected CI
and do add / remove.
@Sandeep Rajput @AshishKM any thoughts
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2024 06:54 AM - edited ‎06-10-2024 06:59 AM
Hi @rakshith_shetty ,
Why you need to add that data to change_request from change_task. As per OOTB good practise the change_task should reflect the same set of CI which were added at change_request and after approval change moved to implement state.
However you can achieve this via BR [ insert/update] on task_ci table ( or any custome one ) and update the same table ( task_ci) for change_request. So both CI mapping will be on same table.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution