search cancel

"Redo Evaluation in" WF condition action adding a day

book

Article ID: 213746

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When using the "Redo Evaluation In" workflow (JOBP) condition action, the next condition check is adding +1 day.

Steps to reproduce:

  1. Create workflow.
  2. Add job to workflow.
  3. Set precondition with something like if 1=1 with action redo evaluation at 23:30 and finally run task
  4. Run Workflow

Expected behavior:

Next condition check shows the same day at 23:30.

 

Actual behavior:

Next condition check shows the next day.

 

Cause

This is a bug.  During the evaluation of preconditions, when the timestamp in UTC has already shifted to the next day - Current client time shows 26.04.2021 21:10, UTC is 27.04.2021 01:10 -
the trace shows that during the CHK_PREC the EJPP_CondNextCheck is set to an extra day in the future:

20210426/180358.079 - U00009909 TRACE: (BINDPAR: EJPP_CondNextCheck) 0x7ff61cf61280 000016
 00000000 E5070400 1C000300 1E003A00 00000000 >å.........:.....<
20210426/180358.079 - >2021.04.28 03:30:58.0<

If current client time and UTC time stay in the same day this does not happen.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

This has been fixed with the release of 12.3.9 and 21.0.3