Skip to content

/AWS1/CL_CMT=>UPDATEAPPROVALRULETMPLCONT()

About UpdateApprovalRuleTemplateContent

Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.

Method Signature

IMPORTING

Required arguments:

IV_APPROVALRULETEMPLATENAME TYPE /AWS1/CMTAPPROVALRULETMPLNAME /AWS1/CMTAPPROVALRULETMPLNAME

The name of the approval rule template where you want to update the content of the rule.

IV_NEWRULECONTENT TYPE /AWS1/CMTAPPROVALRULETMPLCONT /AWS1/CMTAPPROVALRULETMPLCONT

The content that replaces the existing content of the rule. Content statements must be complete. You cannot provide only the changes.

Optional arguments:

IV_EXISTINGRULECONTENTSHA256 TYPE /AWS1/CMTRULECONTENTSHA256 /AWS1/CMTRULECONTENTSHA256

The SHA-256 hash signature for the content of the approval rule. You can retrieve this information by using GetPullRequest.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTUPAPPROVALRLTMPL01 /AWS1/CL_CMTUPAPPROVALRLTMPL01