Approval process

Automating Approval process with Apex trigger

Lets take a sample requirement 'I want to submit an Opportunity record to Salesforce approval process when opportunity Amount is greater than one lakh'. Before writing the Trigger you first you should create a 'Salesforce Approval Process' and the process should have matching criteria(Greater than 1 lakh). To create a approval process go through this link.