On applyig leave request a workflow is triggered and notification is sent to the
Manager he approves it
Everything is fine
Now I have changed the workflow builder
That after the approval, a task(Step) has to be performed.so I added a step for that
Now I have 3 cases
On applying for leave request the manager has approved and the step is executed after that
But my problem is now
There are a few prior requests which wernt approved yet
On approving them the workflow builder which is called is previous one and not the current one
And the step is not executed after the approval ,How to resolve the issue
Please advice
Thanks in advance