Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Request is approved it cannot be cancelled

Chirag Pathak
Tera Contributor

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.

1 REPLY 1

Community Alums
Not applicable
  1. 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.

  2. 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 the sysverb_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.