You need to sign in to do that
Don't have an account?
SFDC0539
Customize Approval History Related List
HI,
Can anyone help me out with suggestions on how can i customize the approval history buttons.
I have a requirement where once the record has finished the stages of approval the submit for approval button should be disabled. Also how can i customize the Approve/Reject buttons.
Please Suggest
Hi,
As of now You cannot customize the buttons on Approval History Related list.
Sridhar Bonagiri
I there any other way to go about this requirement....using java script?????
To disable or making the button in active approval process button you can do the following:
Create a field called Test(Number field) with the default value in it "0".
In the approval process entry criteria put this test field(Test__c) as one of the entry condition, example: (your exisiting entry criteria) && Test__c=0
When the record gets approved in the last step update the field "Test__c" with value as "1"(using the approval field update).
Now when the user clicks on the "Submit for Approval" button then a new page will come up stating "Approval process does not meet the entry criteria".
Hope this answers your question, if yes select this as the answer.
Well thank you @Santro652. This does solve half my problem. But still i need control on the Approve/Reject buttons
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AbeXIAS