Configuring approvals for subscribing package
You must configure the approval settings in webMethods API Gateway to enforce approval for subscribing a package to a plan in webMethods Developer Portal.
Procedure
- Open the menu options and select Administration.
- Select General > Approval configuration > Subscribe package.
- Set the Enable toggle button to the on position to enable the approval configuration to take effect.
- Select the access profile of approvers from the approvers list.
- Select anyone from the approved by list. This implies that any one user of the selected
team can approve or reject the requests. The requester need not wait for the approval of each
approver in the approvers group. Note: If a user is associated with the selected team, then the user can approve or reject a pending request even if the user is not associated with the approvers group.
- Select Team approvers to allow the team approvers to approve the pending requests of applications that the team is associated with. You can specify the users and user groups (Team approvers) in the approvers section when creating or editing the team details. The team approvers list will also include the users and user groups specified in the team administrators section, if the Include team administrators as approvers option is selected.
- Select Disable auto-approval of the requester to specify that applications cannot be automatically approved when they are created by users who have the privilege to approve application creation requests. If you do not select this option, then the applications created by users who have the required privileges are automatically approved.
- Select Configure approval initiate request mail template to be sent to approver. This option is to configure the email template to be sent to the approver for subscribing a package.
- Provide the information below in the configure approval initiate request mail template to
be sent to the approve section.
Field Description Send notification To send an email notification to the approver to approve the request for subscribing a package. Subject The subject line of the email to be sent. Content By default, the template appears. You can customize the email content. The @ character acts as a place holder and the values the system automatically generates values. For example, hello @approver.name appears as hello Joe in the email sent, where Joe is the approvers login ID.
Note: The email notifications are sent to the local webMethods API Gateway users. - Select Configure request approved mail template to be sent to requester. This option is to configure the email template to be sent to the requester to notify that the request for subscribing a package is approved.
- Provide the following information in the Configure request approved
mail template to be sent to the requester section.
Field Description Send notification This field is to send an email notification to the requester that the approver approves the request for subscribing a package. Subject The subject line of the email to be sent. Content By default, the template appears. You can customize the email content. The @ character acts as a place holder and the values are automatically generated by the system. For example, approval of @event.type appears as approval of subscribe package in the email sent, where the subscribe package is the event.type.
- Select Configure rejection mail template to be sent to requester. This is to configure the email template to be sent to the requester to notify that the request for subscribing a package is rejected.
- Provide the following information in the configure rejection mail template to be sent to
the requester section.
Field Description Send notification This field is to send an email notification to the requester that the approver rejects the request for registering an application. Subject The subject line of the email to be sent. Content By default, the template appears. You can customize the email content. The
@
character acts as a place holder and the values are automatically generated by the system. For example, approval of @event.type appears as approval of a subscribe package in the email sent, where the subscribe package is the event.type. - Click Save.