This content describes an older version of this product.
View Latest
Approval Namespace
The Approval namespace
provides classes and methods for approval processes.
The following are the classes in the Approval namespace.
ProcessRequest Class
The ProcessRequest class is the parent class for the ProcessSubmitRequest and ProcessWorkitemRequest classes. Use the ProcessRequest class to write generic Apex that can process objects from either class.
ProcessResult Class
After you submit a record for approval, use the ProcessResult class to process the results of an approval process.