First of all I run 4.6.1, so if this bug has been fixed in later versions, please let me know.However I have not seen it the later bug-fix lists.
This bug appears when I try to "translate to constant when running".
I made a simple job with a single task: "Set Variable".
I set a variable (TesterFejl) to something arbitrary: "{STRING(Concat|{REGEX(Replace|a b c d|\s+|, )}| TestString2)}"
First time I run the job I get the following output:
"Variable 'TesterFejl' was updated to: a, b, c, d TestString2"
This is correct. However if I run the job again, I get the following output:
"Variable 'TesterFejl' was updated to: {STRING(Concat|{REGEX(Replace|a b c d|\s+|, )}| TestString2)}"
This is incorrect, and is continously the output, until I open the task again and press "OK". Now I get the correct output 1 time, and then again the wrong ones.
This problem is basically that the variable is only translated into a constant the first time it is run after being saved.
Best regards,
René