Error in replaceAll Method

0
Hello everyone, i am using a very simple command in changeVariable activity. if contains($Output,'${EmpName}') then replaceAll($Output,'${EmpName}',$TaskRequest/EmployeeNumber) else  $Output   but i am getting an error below Can anyone help me with this?   thanks in advance
asked
1 answers
1

You might have to escape the $ sign with a \

https://javascript.info/regexp-escaping

answered