- Categories:
System functions (System Control)
SYSTEM$UPDATE_ MULTI_ PARTY_ APPROVAL_ JUSTIFICATION¶
Submits or updates the business justification for a Multi-party Approval request.
Call this function after receiving an MPA_APPROVAL_REQUIRED error to explain why
the protected operation is needed.
Note
Submitting a justification transitions the request to PENDING and sends an email
notification to the designated approvers.
Syntax¶
Arguments¶
'request_id'The unique identifier for the approval request. This value is returned in the
MPA_APPROVAL_REQUIREDerror when a protected operation is intercepted by the Multi-party Approval engine.'justification'A plain-text description of the business reason for the requested operation. This text is visible to approvers when they review the request in Snowsight.
Returns¶
A confirmation string indicating the justification was recorded successfully.
Access control requirements¶
No additional privileges are required to call this function.
Usage notes¶
- You can call this function again to revise the justification while the request is
still in
PENDINGstate. Once the request is approved, rejected, canceled, or expired, the justification can no longer be updated.
Examples¶
Submit a justification for a pending approval request:
Update the justification after it has already been submitted: