Create and configure decision logic in the process.
Choose Order Processing.
Choose Add (the + icon).
Choose Decision (from the Choose what happens next pane).
Choose Blank Decision.
In the Name field, enter Determine Approver.
In the Description field, enter Rule to identify the potential approvers for sales order..
Choose Create.
Choose Overview.
Choose Create.
Choose Data Type.
In the Name field, enter Approver.
In the Description field, enter Approver details who will approve the order from supplier side.
Choose Create.
Choose New Field.
In the Name field, enter Email.
Choose New Field.
In the Name field, enter User Group.
Choose Save.
Choose Determine Approver.
Choose Add Input Parameter.
In the Name field, enter Sales Order Input.
In the Description field, enter business rules input.
Choose Type.
Choose Sales Order.
Choose Add Output Parameter.
In the Name field, enter Approver Output.
In the Description field, enter business rules input.
Choose Type.
Choose Approver.
Choose Save.
Choose Input Parameters.
Choose Output Parameter.
Choose Rules.
Choose Add Rule.
In the Rule Name field, enter Determine Approver.
In the Rule Description field, enter Rule to identify the potential approvers for sales order..
Choose Next Steps.
Choose Sales Order Input.
Choose orderAmount.
Choose shippingCountry.
Choose Next Step.
Choose Approver Output.
Choose Email.
Choose UserGroup.
Choose Next Step.
Choose Create.
Choose orderAmount.
Press Ctrl+Space.
Choose Comparison Operators.
Choose is equal or less than.
In the orderAmount field, enter 100000.
Choose shippingCountry.
Press Ctrl+Space.
Choose Array Operators.
Choose EXISTSIN.
In the shippingCountry field, enter [UnitedKingdom, India, Germany].
Choose Email.
In the Email field, enter 'john.doe@sap.com'.
Choose UserGroup.
In the UserGroup field, enter 'SO_APPROVER'.
Select Select All.
Choose Add Row.
Choose Insert After.
Choose orderAmount.
Press Ctrl+Space.
Choose Comparison Operators.
Choose is greater than.
In the orderAmount field, enter 100000.
In the Email field, enter 'john.doe@sap.com'.
Choose UserGroup.
In the UserGroup field, enter 'SO_MGMNT'.
Choose Save.
Note
Make sure to put the entries within the single quotation marks (' ').Choose Close.
Choose Overview.
Choose Order Processing.
Choose Add.
Choose Decision.
Choose Determine Approver.
Choose Inputs.
Select the Single Properties radio button.
Choose expectedDeliveryDate.
Choose Get Order Details 1.
Choose expectedDeliveryDate.
Choose orderAmount.
Choose orderAmount.
Choose orderDate.
Choose orderDate (in the Process Content pane to the left).
Choose orderDate (in the Process Content pane).
Choose orderNumber.
Choose orderNumber (in the Process Content pane to the left).
Choose orderStatus.
Choose orderStatus (in the Process Content pane to the left).
Choose shippingCountry.
Choose shippingCountry (in the Process Content pane to the left).
Choose Save.
Choose Close.
Choose Determine Approver.
Choose Close.
Choose Close again.
Choose Zoom.
Choose Zoom to fit.