ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

ESP dSeries Workload Automation : Trying to create an alert (execcommand) and want to insert non selected jobs (predefined job)

book

Article ID: 226713

calendar_today

Updated On:

Products

CA Workload Automation DE - Scheduler (dSeries) CA Workload Automation DE

Issue/Introduction

Trying to create an alert to run execcommand and want to insert of a predefined job.  In the doc it seems the command of insert wants to insert job and I have to give all the info about the job.  Can I insert non selected jobs (predefined jobs), if so what is the command?

Environment

ESP dSeries Workload Automation 12.3

Resolution

You can use below syntax;

execCommand( 'all', APPL._name + "." + APPL._gen, "ACTION INSERTNONSELECTEDJOBS JobList\(\"WINDOWS0\"\) DefinedApplName\(\"INSERT\"\)" );
execCommand( 'all', APPL._name + "." + APPL._gen, "ACTION INSERTNONSELECTEDJOBS JobList\(\"TASK0\"\) DefinedApplName\(\"INSERT\"\)" );

Here application name is INSERT and jobs to insert are WINDOWS0 and TASK0.