Hi Judith, no task properties on the first job, and only added the postconditions on the 2nd job in the workflow.
My postcondition report for the original failure and 4 restarts ...
2016-10-20 09:45:51 - IF task ended with status ENDED_NOT_OK
2016-10-20 09:45:51 - True: Task ended with status '1800' and return code '1'.
2016-10-20 09:45:51 - IF 0000000000000000 < 5 (this incrementing by 1 each time job restarted)
2016-10-20 09:45:51 - True
2016-10-20 09:45:51 - FINALLY restart task in 1 minutes
On the 5th restart the report shows
2016-10-20 09:52:28 - IF task ended with status ENDED_NOT_OK
2016-10-20 09:52:28 - True: Task ended with status '1800' and return code '1'.
2016-10-20 09:52:28 - IF 0000000000000005 < 5
2016-10-20 09:52:28 - False
See attached doc for task properties / workflow and job attributes configs