on 2007 Dec 27 2:10 PM
Hello
i am trying to implement simple functionality of substring of one value of source node using built-in functions of mappings.
The logic is simple
If ZNME1 > 15 .
ZNME1 = Substring from 0 to 14.
Else.
ZNME1 = ZNME1.
Endif.
Instead of this code i have used built-in if then else functions. This runs fine (when tested with Test tool) when the result is true i.e. when string length is greater than or equal to 14 but if stringlength is less than 14 it gives the above exception.
i guess it executes the substring function (which is assigned to then tab) before even checking the condition which is why it is throwing this error. ideally it should first check the condition and then execute then part of the same right.
Regards
Rajeev
I think this problem was already existng and I guess there was a note also. Search the forum for if then problem.. You should be able to find it..
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.