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
Claudia ContrerasClaudia Contreras 

Sending for approval without clicking button

Does anyone know how I can set up my approvals so that users dont have to click the "submit for approval" ?
JitendraJitendra
You can use Process Builder. (https://help.salesforce.com/HTViewHelpDoc?id=process_overview.htm)  

If you want it using Apex, then you can refer this article (http://www.jitendrazaa.com/blog/salesforce/dynamic-approval-process-based-on-the-apex-and-trigger/). This article sends Approval process automatically using Apex.

 
Claudia ContrerasClaudia Contreras
Thank you!