Add pattern and pending status to StepInvoker