So I'm trying to debug this issue right now but I thought I'd see if anyone here is familiar with this and could give me a quicker answer.
I have a workflow with 3 process steps in it that need to be completed, each of which makes a call to an OSGi service (implementing WorkflowProcess). The problem is that if I encounter an error on step2, CQ launches retry threads for both step1 AND step2. I am not all that familiar with workflows yet and the documentation hasn't so far given me any hint on how to handle this scenario. Is there a standard approach to signalling the Workflow to STOP trying step1 because it already succeeded? Or do I have to hack up my own state management?