No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
ProcessSubmitRequest Class
Use the ProcessSubmitRequest class to submit a record for approval.
Namespace
Usage
You must specify the Approval namespace when creating an instance of this class. The constructor for this class takes no arguments. For example:
1Approval.ProcessSubmitRequest psr = new Approval.ProcessSubmitRequest();In addition to the methods listed, the ProcessSubmitRequest class has access to all the methods in its parent class, ProcessRequest Class.
ProcessSubmitRequest Methods
The following are methods for ProcessSubmitRequest. All are instance methods.
getObjectId()
Returns the ID of the record that has been submitted for
approval. For example, it can return an account, contact, or custom
object record.
Signature
public String getObjectId()
Return Value
Type: String
setObjectId(String)
Sets the ID of the record to be submitted for approval.
For example, it can specify an account, contact, or custom object
record.
Signature
public Void setObjectId(String Id)
Parameters
- Id
- Type: String
Return Value
Type: Void