function, function alias

What is the relation between function and function alias?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

October 11, 2010 - 8:40am

Lets take an example,

There is a function called BoundInteger, define the Input params and the Output Type. And write the function (Java code) and test it. Once it works. You can create an Alias...which is just a way to refer to this function.

When you use a decision table you can refer to this function using its Alias Name instead of the using the function name. This makes it easier for Less technical developers. So when you delegate the rules, the person would be able to understand the function by its Alias.

So in the Above example, the function name is BoundInteger and the Alias name is BoundBetween0And100.

Hope it was clear.

Ramya Ramaswamy

October 11, 2010 - 1:48pm

That make sense with what is said. The place I found the function alias usefull is in the "when rules".

October 9, 2015 - 3:31pm

How do we refer function alias in decision table/ when rule? in the expression builder I can see only functions after selecting library.