I had created the custom workflow for Bank account reconcilation but now I want to disable the Reconcile account button and need to enable it after workflow approval
Disabling and enabling the button based on workflow approval
The state of the document must be stored in a field. Then you'll simply check whether the status is Approved and enable or disable the button. That's normally done in active() method, but don't forget to check whether the form doesn't already contain another piece of logic enabling the button. If so, you'd need to take that into account.