search cancel

Error when trying to run Backend Variable

book

Article ID: 90229

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error when trying to run Backend Variable

Environment

Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Detailed Description and Symptoms

Windows Backend variable with the follow parameters:

OS - *

Version - *

Command - $env:PATH

Columns - Path:1(100)

 

Error appears when trying to preview a Window Backend variable:

?U2000170 Command with Run ID '%' could not be started. Reason '2 - The system cannot find the file specified.'. Running command: '$env:PATH'


Solution

?Command requires the following syntax:

powershell -Command $env:PATH

 

All Windows commands need to be prefaced with ' powershell -Command'