After creating a new global variable with email ID and adding the variable under notifications for a job, the following errors are appearing.
com.ca.wa.comp.schedulerserver.appl.ApplicationGenerateException: Could not resolve %VAR(‘_VARNAME’, ’VAR__CONTEXT’) in ApplMailaddresslist. The exception is: The function [%VAR(‘_VARNAME’, ’VAR__CONTEXT’)] failed to execute: java.util.concurrent.ExecutionException: org.mozilla.javascript.EvaluatorException: Compilation produced 7 syntax errors.
illegal character on line 1 offset 5, line source: VAR(‘_VARNAME’, ’VAR__CONTEXT’) syntax error on line 1 offset 5, line source: VAR(‘_VARNAME’, ’VAR__CONTEXT’) illegal character on line 1 offset 13, line source: VAR(‘_VARNAME’, ’VAR__CONTEXT’) syntax error on line 1 offset 14, line source: VAR(‘_VARNAME’, ’VAR__CONTEXT’) illegal character on line 1 offset 16, line source: VAR(‘_VARNAME’, ’VAR__CONTEXT’) illegal character on line 1 offset 29, line source: VAR(‘_VARNAME’, ’VAR__CONTEXT’) syntax error on line 1 offset 29, line source: VAR(‘_VARNAME’, ’VAR__CONTEXT’)
The variable single quote was copied from MS word and the character became corrupt.
Release : 12.2
Component : CA WORKLOAD AUTOMATION DE (DSERIES)