CallFunction

This function calls given function rule from current procedure. Function will be called in the same script context as calling rule so every variable defined in base rule before CallFunction will be available in function and every variable defined in function will be available after end of CallFunction

Syntax

CallFunction("functionName");

Function arguments

  • functionName – (String) Name of the rule with function type to be called

Return value

This function returns Boolean.
Returns true if function was executed successfully, false otherwise.

Examples

Example 1:
This will execute rule with name Calculate code. Calculate code function can alter value of code variable and this new value will be assigned to [Code] field;

code=100; CallFunction("Calculate code"); [Code]=code;
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.