search cancel

In WCC/Quickedit the backslash is removed from Global variable.

book

Article ID: 8787

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

In WCC Quickedit when you create or lookup a Global Variable that contains a backslash, the backslash is removed

sendevent -E SET_GLOBAL -G "varname=D:\Program Files\Tests"

is causing global variable to appear in form: 

varname D:Program Filestests

Environment

WCC 11.4 on Linux/Unix/Windows

Cause

The  "\" (=backslash) is used as escaping character. You will need to double it.

Resolution

Replace backslash '\' by double backslashs '\\' as follow

sendevent -E SET_GLOBAL -G "varname=D:\\Program Files\\Tests"