This content describes an older version of this product.
View Latest
Apex Approval Processing Example
The following sample code initially submits a record for approval, then approves the request.
This example assumes that a pre-existing approval process on Account exists and is valid
for the Account record created.