- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2023 08:03 PM
Hi Community,
I have a requirement to provide an option of Delete button on Vendor Records for Vendor Manager role.
Whenever the delete button clicks associated Engagements should also get deleted. The delete functionality should be available on Vendor Management workspace.
Please help me in writing script for workspace delete button.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2023 09:43 PM
Hi @bejawada
you don't need to script anything. just make sure that the respective cascade delete rules are set correctly. Then ServiceNow will delete referencing records automatically in case the parent records gets deleted.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 05:48 PM
Appreciate your time.
I think all the PDI's will behave same if we follow the above steps. I would request you to give a try in your PDI, so that you will get the same issue over there as well.
Please let me know if you have any questions.