function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepak PansariDeepak Pansari 

Creating Approval process by VisualForce page on Opportunity object.

Hi All,
 
I need to create an approval process without using App Setup-> create -> workflow & Approvals -> Approval process
 
Means not by standard way, I want to create it by VisualForce and on Opportunity Object.
 
Please let me know if any one has any idea.
 
-Deepak
 

 

Best Answer chosen by Admin (Salesforce Developers) 
Deepak PansariDeepak Pansari

Hi Ron,

 

Thanks for reply, i want it by new Approval ();

 

But I am totally new toapproval process.

 

Does itsupport all the functionality which isprovided by the standard approval Wizard?

 

Regards,
Deepak 

 

 

All Answers

Ron HessRon Hess

did you try

 

new Approval();

 

 

or are you trying to build the entire process in a new UI?

Deepak PansariDeepak Pansari

Hi Ron,

 

Thanks for reply, i want it by new Approval ();

 

But I am totally new toapproval process.

 

Does itsupport all the functionality which isprovided by the standard approval Wizard?

 

Regards,
Deepak 

 

 

This was selected as the best answer
zaidyzaidy

Hi Deepak,

 

I was reading this post and wonder if at the end you managed to create an Approval process by Apex and Visualforce. As I am trying to the same.

 

Thanks in advance,