changeProposalsApprove
Approves a pending change proposal of the company, writing its changes to the subject.
Business Rules
- Any user with the permission can approve a proposal, whoever requested it.
- The user who approves is recorded as the one who decided.
- The changes are written as a background process.
- Only one approval of the same proposal runs at a time.
Error Scenarios
CompanyContextRequiredwhen the request has no company.- The process reports a failure when the proposal is not pending, is already being approved, or the order changed after the proposal was prepared.
Permissions Required
change_proposals:approvepermission
changeProposalsApprove(
input: ChangeProposalsApproveInput!
): AsynchronousActionResponse!
Arguments
changeProposalsApprove.input ● ChangeProposalsApproveInput! non-null input common
Parameters for ChangeProposalsApprove
Type
AsynchronousActionResponse object common
Asynchronous action response type