Using Approval Results

There is one type of result which can be returned from a successful wsapi approval call:

ApprovalResult

The following functions return the ApprovalResult object.

Property

Value

id

Internal ID of the object for approval action.

approval_warnings

String representing any warnings.

approval_errors

String representing any errors

log

String representing the log of actions.

errors

Array of oaError objects.

approval_status

The approval status of the record

  • 'O' - Open

  • 'S' - Submitted

  • 'A' - Approved

  • 'R' - Rejected

  • 'X' - Archived

Also see Handling Approval Errors.