Class: ApprovalProcessRequest

Process~ApprovalProcessRequest

(protected) new ApprovalProcessRequest(process, request)

A class representing approval process request
Parameters:
Name Type Description
process Process~ApprovalProcess ApprovalProcess
request Object Request parameters
Properties
Name Type Attributes Description
actionType String Represents the kind of action to take: Submit, Approve, or Reject
contextId String ID of the item that is being acted upon
comments String Comment to add to the history step associated with this request
nextApproverIds Array.<String> <optional>
If the process requires specification of the next approval, the ID of the user to be assigned the next request
processDefinitionNameOrId String <optional>
Developer name or ID of the process definition
skipEntryCriteria Boolean <optional>
Determines whether to evaluate the entry criteria for the process (true) or not (false) if the process definition name or ID isn’t null
Implements:
Source:

Methods

then()

Promise/A+ interface http://promises-aplus.github.io/promises-spec/
Source:

thenCall()

Promise/A+ extension Call "then" using given node-style callback function
Source: