Example: Single Function Under a Condition

Using a View function, this scenario shows a basic way to use the Condition function, and how the data and logs behave when the defined parameter condition is fulfilled.

In this scenario, the Condition function uses a formula with a parameter value of 10 (for example, I_KF=10).

Under the node of the Condition function, a Model Table is used as input for the View function. The View function multiplies the amount by the parameter.

Input Data
Customer Product Amount
CUST1 PROD01 100
CUST2 PROD02 200
CUST3 PROD03 300
CUST4 PROD04 400

When you run the View function where the package parameter was set to I_KF, it can either meet or not meet the condition defined in your Condition function.

If the condition I_KF=10 is met, the amount is multiplied by 10 as shown below:

Customer Product Amount
CUST1 PROD01 100 * 10
CUST2 PROD02 200 * 10
CUST3 PROD03 300 * 10
CUST4 PROD04 400 * 10
Result
Customer Product Amount
CUST1 PROD01 1000
CUST2 PROD02 2000
CUST3 PROD03 3000
CUST4 PROD04 4000

Log Sample

The logs show that no steps were skipped during the run: