I create one function in module. It work well when I use in load script. But the problem is when I use in Expression then I got null value. What wrong with this? Anyone know how to create function to use in Expression?
You are right. Now I decide to use module function in load script. But the performance too much poor (take 2 or 3 sec for fetch 1 record). Please take a look with attahced file and help me to modify the function to get the same result and better performance.
The problem is that the looping in the module code. Each call loops up to 20million times (average 10million). I don't know much about erlangB calcs, but I do not believe that the the script should loop so many times. I would check the erlang scripts on the internet and pay attention to your looping limits and test conditions.
The attached modification of your model shows how I tested this.
Logic will get you from a to b. Imagination will take you everywhere. - A Einstein