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.

Sync State issue with value not decreasing

book

Article ID: 214080

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

A sync object that had worked correctly suddenly stopped decrementing the "Value".  

There are jobs that run that are supposed to increase / increment the Value for the State on start and decrease / decrement Value on end:

But now the counter never goes down (no -/minus action) when the jobs end.

Instead of not returning to 0, the counter never decrements at all now.

Sync Report now shows:
2021-03-24 12:33:13 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250871608') sets status 'STATUS', value '+000000001'.
2021-03-24 12:35:03 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250871608') sets status 'STATUS', value '+000000001'.
2021-03-24 13:41:30 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250888545') sets status 'STATUS', value '+000000002'.
2021-03-24 13:42:22 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250888545') sets status 'STATUS', value '+000000002'.
2021-03-24 14:34:17 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250891302') sets status 'STATUS', value '+000000003'.
2021-03-24 14:38:42 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250891302') sets status 'STATUS', value '+000000003'.
2021-03-24 20:00:06 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250898777') sets status 'STATUS', value '+000000004'.
2021-03-24 20:00:51 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250898777') sets status 'STATUS', value '+000000004'.
2021-03-24 22:33:13 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250906431') sets status 'STATUS', value '+000000005'.
2021-03-24 22:39:58 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250906431') sets status 'STATUS', value '+000000005'.
2021-03-24 22:43:15 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250909007') sets status 'STATUS', value '+000000006'.
2021-03-24 22:43:43 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250909007') sets status 'STATUS', value '+000000006'.
2021-03-24 22:51:46 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250905713') sets status 'STATUS', value '+000000007'.
2021-03-24 22:54:05 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250905713') sets status 'STATUS', value '+000000007'.
2021-03-24 22:58:02 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250907692') sets status 'STATUS', value '+000000008'.
2021-03-24 23:06:29 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250907692') sets status 'STATUS', value '+000000008'.
2021-03-25 03:26:24 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250926270') sets status 'STATUS', value '+000000009'.
2021-03-25 03:41:08 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250927214') sets status 'STATUS', value '+000000010'.
2021-03-25 03:41:44 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250927214') sets status 'STATUS', value '+000000010'.
2021-03-25 03:50:56 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250927216') sets status 'STATUS', value '+000000011'.
2021-03-25 03:53:53 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250927216') sets status 'STATUS', value '+000000011'.
2021-03-25 04:15:47 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250926270') sets status 'STATUS', value '+000000011'.
2021-03-25 07:39:19 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250931100') sets status 'STATUS', value '+000000012'.
2021-03-25 07:40:33 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250931100') sets status 'STATUS', value '+000000012'.
2021-03-25 08:00:12 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250938194') sets status 'STATUS', value '+000000013'.
2021-03-25 08:01:12 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250938194') sets status 'STATUS', value '+000000013'.
2021-03-25 09:11:30 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250941096') sets status 'STATUS', value '+000000014'.
2021-03-25 09:18:14 - U00004410 Client '0015', object 'JOBS.SYNC' (RunID '0250941096') sets status 'STATUS', value '+000000014'.

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

the value for this sync is not decreasing by 1 when jobs like JOBS.SYNC end.  These run the "END" action when they end, and it's currently set to subtract zero (based on the "Change Value" column):

This means that it will just keep increasing when they start since they run the "START" action and it increases by 1, but when they finish they use the "END" action which basically does nothing to the value.

To resolve this, you should be able to set "Change Value" column on the "END" row to - 1 and it will start decrementing again:

Attachments