Dollar character problem


I can’t get work ‘$’ sign in variables when I publish my project to Control Tower. Everything works well in RPAExpress recorder, but that’s not the case in Control Tower. If I remove $ character from my variable (string) it works also in Control Tower.

Log shows error: Config line 4: script block org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1_genScript_40.groovy: 13: illegal string body character after dollar sign; solution: either escape a literal dollar sign “$5” or bracket the value expression “${5}” @ line 13, column 65.

Is this bug or do I sometihng wrong?

Thanks fast reply. I can’t see this helping my problem. Dollar sign works well inside RPAExpress recorder, but looks like it gives error in Control Tower when I try to run it there.

Do you use $ in variable name or value?

Please also share your zipped recording folder here. Or at least a screenshot.

Here is screenshots. I hope it helps.

There is worksheet variable. I just try to get excel sheets with it ($ sign value)

This error happens, when I started business process in Control Tower. If I remove $ value everything works fine.

1 Like


This issue will be fixed in the 1.1.6 version which comes next week. Please wait a bit. :timer_clock:

Hi @azinchuk,
I am getting this error in 1.1.7 version…By keystrokes it works fine but throgh excel action library when i am trying to set value in excel i am getting $ errors?It seems set cell value action doesnt work with doller symbol i think.


thanks for reporting this issue. Now as a workaround you can escape the dollar sign:


Hi @azinchuk,
Can you provide some snipet of code how to escape i used replace text but it is not working…