Route delivery acceptance with conditions

A delivery request can require a different review path depending on its amount, risk and project context. The purpose of the rule is to produce an explainable decision; the approver still decides whether to accept the delivery.

This walkthrough uses the delivery rule and approval modules. Install the corresponding application configuration first. A Community project example alone does not install this acceptance workflow.

1. Inspect the business inputs

Open the intended acceptance and check its project, delivery amount, risk and materials. Use the same record when testing the route. An acceptance amount and the project's entire budget are different quantities.

2. Build the condition

In the rule center, open the condition editor. Choose the model and field, then the operator and value. A comparison can use a constant or another compatible field.

Group conditions with AND or OR. Apply NOT to the intended group rather than guessing its scope from a sentence. For example, a group may combine an amount threshold with project budget, then combine high risk or an over-budget comparison. The installed case definition, not this prose, determines the actual thresholds.

Model fields, grouping and comparison

3. Test both routes

Open trial evaluation. Supply the current business inputs and inspect the matching conditions and result. Change one input so the result should differ, then test again. Keep a boundary input at the threshold as a third check.

Trial inputs and decision explanation

A rule being enabled does not prove a particular request used it. Confirm the business submission uses the expected published definition and actual context.

4. Connect the approval

Bind the decision output to the appropriate workflow route. Submit the acceptance through its normal business action. Inspect the current node, assigned reviewer and record of how it got there. A decision result must not be confused with final approval.

If a route is unexpected, compare field types, selected version and actual input first. Check whether a draft was tested but a different published rule was executed. Use the execution trace when input mapping or permissions reject the call.

Continue

SLA and follow-up · Rule API and DRL example · Commands