Not able to compile Sequence job variable 'Trim' not defined
Moderators: chulett, rschirm, roy
Not able to compile Sequence job variable 'Trim' not defined
I have used a Nested condition activity in my sequence job. In that expression link i have user 'Trim' and 'Substrings' functions.
When i tried to compile that job it gaves some error message like:
Activity Nested_condition1: Trigger Expression lnk_aa - Variable 'Trim' not defined.
what does it mean?.
Any input will be highly appreciated.
Thanks in advance.
When i tried to compile that job it gaves some error message like:
Activity Nested_condition1: Trigger Expression lnk_aa - Variable 'Trim' not defined.
what does it mean?.
Any input will be highly appreciated.
Thanks in advance.
same job is working fine in Dev region.ArndW wrote:Could you please post the code in your trigger condition; it sounds like you might have some sort of a syntax error.
When i checked for functions by right click.. I can see only 'Alpha' under String functions.
Why is that so?.
Any idea please.
Thanks in advance.
I can't see anything wrong there at all, except that the SUBSTRINGS function is meant to be used with dynamic arrays; it will work here because you only have one element; but I would prefer to see "BeginLoop.$Counter[1,1] = 'Z'" used instead - neverthe less it shouldn't affect your error.
Is this expression in one of the output conditions? The error indicates that "TRIM" is not detected by they compiler as a keyword. This can happen if you do something like "TRIM['string']" by mistake where the compiler will try to interpret it as an array (but usually the error message is different).
Are you having other problems with jobs promoted from Dev to wherever they are now?
Is this expression in one of the output conditions? The error indicates that "TRIM" is not detected by they compiler as a keyword. This can happen if you do something like "TRIM['string']" by mistake where the compiler will try to interpret it as an array (but usually the error message is different).
Are you having other problems with jobs promoted from Dev to wherever they are now?
after deleting the SUBSTRINGS function from there,still it gives the same compilermessage.ArndW wrote:I can't see anything wrong there at all, except that the SUBSTRINGS function is meant to be used with dynamic arrays; it will work here because you only have one element; but I would prefer to see "BeginLoop.$Counter[1,1] = 'Z'" used instead - neverthe less it shouldn't affect your error.
Is this expression in one of the output conditions? The error indicates that "TRIM" is not detected by they compiler as a keyword. This can happen if you do something like "TRIM['string']" by mistake where the compiler will try to interpret it as an array (but usually the error message is different).
Are you having other problems with jobs promoted from Dev to wherever they are now?
variable 'Trim' not defined.
I have checked the available functions by right click in the expression box and under functions- under String i didn't see any function other than Alpha.
any clue pls.
thanks in advance.
Assuming you aren't trying your job in production, you might try to copy your development DSParams file to this location and see what happens; make a copy of this possibly corrupt DSParams file just to be on the safe side. Can you see the Date/Time modified for this file and try to figure out who or how it was corrupted?