Which priority on a job is higher? 0, 1, or 200?
search cancel

Which priority on a job is higher? 0, 1, or 200?

book

Article ID: 88971

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Which priority on a job is higher? 0, 1, or 200?

Environment

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

Resolution

Detailed Description and Symptoms
The priority level of a job can be set anywhere from 0 to 255.  However, the documentation states that 1 is the highest priority.  Isn't 0 higher than 1?  My job is set at 0, but the documentation also states that 200 is the default priority.  Can you clear this up for me please?

Investigation
Under the documentation Inside Automic--> Executing Objects--> Automic Priority we find:

Highest priority: 1
Lowest priority: 255
Default value: 200

The actual default value of a priority level in the "Attributes" tab of objects is set at 0.  In this case "0" is not a value, but rather refers to a value in the UC_CLIENT_SETTINGS.  Check the key: TASK_PRIORITY, and (by default) you will see the value of 200.

So, when "0" is set as a priority this translates to a priority level of "200" as per the UC_CLIENT_SETTINGS.

Solution
Highest priority is always: 1

Priority of "0" refers to the value of TASK_PRIORITY in the UC_CLIENT_SETTINGS, which (by default) is set to 200.

Lowest priority is always: 255