You might add the step *twice*, once with and once without the counting lock. Then use doStepIf to control which one runs. That's assuming that doStepIf is processed before locks -- and I'm not sure about that OTOMH. Dustin