How to delete CI only by keeping asset record in Asset Table..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2019 11:34 AM
Hi,
Please let me know the procedure how to delete the CI only . But customer want to keep the Asset Recordi in asset table. I even tried cascade deletion option with "clear" choice but post this also, both CI and Asset records get deleted.
Though I know the deletion of Ci is not recommonded but but still want to go for the same due to business requirement.
I have created UI action for Delete and copied same script of OOB "DELETE" button for UI action by removing cascade delete but same is also not working and both CI and Asset gets deleted.
Please let me know how to break the link between CI and asset.
Regards,
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2019 12:56 PM
Hi,
There is a typo in your script:
current.setWorkflow(false);
Copy and paste it.
Regards,
Munender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2019 12:57 PM
You have setWorkFlow, not setWorkflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2019 11:56 PM
Hi Mike,
Thanks for the reply.
But I came to know that setWorkflow doesnot work for Delete option. So it is not working. Do you have any other solution??
Regards,
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2019 05:55 AM
Hi,
This is not correct setWorkflow(false) does work with delete operation.
Regards,
Munender