Use the ApprovalRequiredDroplet
servlet bean (class atg.commerce.approval.ApprovalRequiredDroplet
) to retrieve all orders requiring approval by a given approver. ApprovalRequiredDroplet
queries the order repository and returns all orders that meet the following two criteria:
The order’s
authorizedApproverIds
property contains the approver’s ID.The state of the order requires approval, meaning that the state is defined in the
ApprovalRequiredDroplet
orderStatesRequiringApproval
property. The order’s state is held by the property of the order that is specified in theApprovalRequireDroplet
orderStatePropertyName
property. The default value isPENDING_APPROVAL
.
Refer to Appendix: ATG Commerce Servlet Beans of the ATG Commerce Guide to Setting Up a Store for detailed information about the input, output, and open parameters of ApprovalRequiredDroplet
, as well as a JSP code example using this servlet bean.