Request is approved it cannot be cancelled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 01:16 AM
Hi Community,
I had an requirement that when a request is approved it cannot be cancelled I have tried certain ways wanted to know if there is something easier than that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2024 01:48 AM
-
Client Script Validation: You can write a client script that triggers when the user tries to cancel a request. This script can check the approval status of the request. If the request is already approved, display a message to the user indicating that the request cannot be cancelled.
-
Business Rule: Create a business rule that runs on the
sc_req_item
table (or whichever table your requests are stored in). This rule can trigger on thesysverb_cancel
action and check if the request is already approved. If it is, the business rule can prevent the cancellation action and display an appropriate message.