A function is a reusable piece of code that extends the behavior of a rule. A function provides part or all of a rule expression. Without functions, a rule can support simple expressions with no control-flow statements or compound statements. Functions make possible or greatly simplify complex calculations or decision-making functionality in rule expressions. Functions are global. They do not have a scope and can be used in any rule created in a study or library as long as they are part of the study or library.
Functions allow users with different levels of programming experience to participate in rule-building:
The Central Designer application includes predefined functions (for example, several functions handle checking the components of date time fields).
You can use functions in a library or study:
Note: If you are working in a study, you can use predefined functions that were created in the System Library when the System Library appears in the Library List.
Copyright © 2013, 2016 Oracle and/or its affiliates. All rights reserved.