- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 02:34 AM
Hi,
I would like to delete ONLY one record in DEV Which needs to be captured in update set. And eventually this record should be removed from QA and PROD as well.
As deleted records are not captured in update sets, what is the best way to do this ?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 08:17 AM
Hi,
I have made a Fix script and resolved this issue.Now I am able to capture the delete record change Via update set and run the Fix script.
@Arun_S1 @Amit Gujarathi Thanks for all the help and replies 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 05:25 AM
@Sndeveloper Adm I was able to delete records using an update set, but I don't think this is an advised method. Also this was not possible for all the tables, I tried this for incident table it didn't work, but for CMDB CI table it works fine. Please see the steps I followed below.
1. Created a new update set "Delete_Record" and made that as my current update set.
2. Navigated to CMDB CI table, selected a configuration item on the list view and from the actions selected "Create Application File"
3. On selecting create application file, below dialog was shown, on which I selected OK
4. On Selecting OK a new Metadata Snapshot Entry was created in my update set. (When exporting and importing this update set the instance updated the CI record)
5. Now I opened the customer update record for Metadata Snapshot and modified the below action that is highlighted in Yellow.
From: action="INSERT_OR_UPDATE"
To: action="DELETE"
6. Updated the customer update record and closed the update set, exported to XML.
7. Imported, previewed & committed in a different instance which deleted the record that was intended to be removed.
Please mark the appropriate response as correct answer and helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 08:17 AM
Hi,
I have made a Fix script and resolved this issue.Now I am able to capture the delete record change Via update set and run the Fix script.
@Arun_S1 @Amit Gujarathi Thanks for all the help and replies 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 01:43 PM
Can you provide the Fix Script you used to solve this issue?? I have a similar issue I'm working through.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 02:57 AM
@Sndeveloper Adm if you were helped by someone's reply, you should Mark that as accepted solution, not just yours!
You should not waste someone's time like that and should show some courtesy to one who has helped you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2024 01:54 AM
Thanks for reminding me . I hit the helpful button now.I would like to close this tread on this note.