You need to sign in to do that
Don't have an account?
sam_Admin
Is it possible to override approval process (approve/reject) with the Visual force page
I want to create visualforce template to approve/reject record when a record is submitted for approval. Approval manager travels and he wants an external link to approve rather than going into salesforce so i created text template and used {!ApprovalRequest.External_URL} but this merge field doesn't works and confirmed that it's salesforce bug so is it possible to create an visualforce template with comments box and approve/reject button?
Before enabling email approval response, note that you cannot use this feature with approval processes in which the assigned approver is a queue, or in a multi-step approval process in which the next approver is manually chosen after the first step. Also, users that use Microsoft® Word® as their email editor must add the comments to the end of the first line of the reply email instead of the second.
One potential solution can be - Not enable the approval response, rather have your own email template with the required information. Write an inbound email handler such that once the approver replies to approve/reject the record, you set the reply-to the inbound handler and parse the response and capture it in comments. This would not require a VF page. Refer this to approve/reject record via apex:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008z9LIAQ
All Answers
https://help.salesforce.com/HTViewHelpDoc?id=approvals_email.htm&language=en_US
For salesforce.com to process your response the word APPROVE, APPROVED, YES, REJECT, REJECTED, or NO must be in the very first line of the reply email. Also, any comment must be in the second line.
Before enabling email approval response, note that you cannot use this feature with approval processes in which the assigned approver is a queue, or in a multi-step approval process in which the next approver is manually chosen after the first step. Also, users that use Microsoft® Word® as their email editor must add the comments to the end of the first line of the reply email instead of the second.
One potential solution can be - Not enable the approval response, rather have your own email template with the required information. Write an inbound email handler such that once the approver replies to approve/reject the record, you set the reply-to the inbound handler and parse the response and capture it in comments. This would not require a VF page. Refer this to approve/reject record via apex:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008z9LIAQ
P.S - Please mark the question as answered which may help others.
We had a custom object on which we had to build the approval process such that we had to enable parallel approval. Catch was even if one of the approvers rejected it, the record may or may not be rejected. It was like if there are total of 10 approvers, we would need at least 7 to approve it. So even if the other 3 rejects, the record is still approved. We used a lot of apex for this and of course the inbound email handler. It may sound a lot of work, but a developer with good apex skills would be able ti pull it off quite easily since the "process" is pretty straight forward.