Hi @charlie_yc ,
By default AEM set the max retries count on failure in Apache Sling Job Default Queue
. So, even after failure it retries to complete it might not be useful in this case but many other OOTB workflows needs to be retried.
If you want to customize it then use your custom process and add check for retries count by counter variable in workflow metadata.
Thanks
Tarun