Approval Workflow Not Triggering When Status Updated via Custom Button

Approval Workflow Not Triggering When Status Updated via Custom Button

Hi Team,

I’m facing an issue with an approval workflow in my application.

  • I have a workflow that updates a record’s Status field from “Pending” to “Waiting for Approval.”
  • I have configured an Approval Workflow with the condition:
    Status = "Waiting for Approval"

Now, I have added a custom button in the report.

  • When I click this button, the status successfully updates from Pending → Waiting for Approval.
  • However, the Approval Workflow is not getting triggered.

Expected Behavior:

Once the status changes to “Waiting for Approval”, the approval workflow should execute automatically.


Actual Behavior:

The status updates correctly, but the approval workflow does not trigger.


Question:

Is there any limitation where approval workflows are not triggered when updates are done via custom buttons?
Or is there any additional configuration required to make this work?


Additional Info:

  • The status update is happening through a Deluge script in the custom button