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
test1 rettest1 ret 

Approval Process triggering condition

Hi,
I have a visual force page on a site. i have three options they are ADD, CHANGE, DISABLE. If i click on change i am populating all the field values from the Database . if suppose i dont change anything and hit on the submit for approval button ,I dont want the Approval Process to trigger. How can i achieve this? These process trigger based on other checkboxes SUPERVISOR or EMPLOYEE. So the change capability is given only to Supervisor . Can anyone please help me with it .

I came across a trigger , where i can compare the old field values with new field values , And once compared if the values are not changed i dont want to trigger the Approval Process. 

Basically the Approval Processes are triggering based on the selection of SUPERVISOR or EMPLOYEE. 

can anyone help me with this