search cancel

Prompt of type "date" is empty when you set a default value using a pre-defined variable

book

Article ID: 88585

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction


In the promptset, a prompt of type "date" has a default value of &$PHYS_DATE_YYYYMMDD#

When this promptset is used in a job, and you execute the job, the prompt's variable is empty.

If you change the value of the prompt during execution, then the prompt's variable has the selected value.
 

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution


SOLUTION:

The allowed date format of a date field with a predefined variable is yyyy-mm-dd (this info is currently undocumented).
 
Use the predefined variable &$PHYS_DATE_YYYY_MM_DD_d#