You are here: Business Rules > Business Conditions > Function

Business Condition: Function

It is possible to define business conditions by using functions.

In the Edit Operation dialog, you can add function templates and you can insert an attribute ID, by navigating to the relevant attribute.

For more information on functions and function templates, see Function Editor in the System Setup / Super User Guide here.

If a function returns 1, the condition is true. If a function returns 0 or anything else but 1, the condition is false. I

As the following example shows, it is not necessary for a function to explicitly return 0 or 1

The exact(prodval('Description'),"Expected value")returns 1 if the value of the Description attribute on current node equals Expected value. Otherwise it returns 0.

 

2017, Stibo Systems