I have one main workflow which contains One Sub workflow and 4 normal workflow steps. When the request got submitted,the flow will first go to sub workflow and processesd within the sub WF and when it completes it will return from sub workflow and attach it to normal workflow steps of main workflow.This is working fine first time.But, when the workflow transition go from normal step to Subworkflow again for the same request, the steps that previously completed for the sub workflow are now showing in White colour instead of Green Color.
Why the workflow steps are in White colour eventhough they the flow comes second time for this subworkflow.
Looks to me that there is a execution step at the beginning of this subworkflow entry which is giving all these four steps to have parallel decision.
Is your execution steps based on some field value and are you expecting it to be different than what it must have stored last time when it was executed? in such case you need to reinitialize those fields with default, so that the intermediate execution step doesnt resolve to 16,17,18,19 steps directly.
This is how it works by design, and it is not limited to sub-workflows. If you revisit a step in a workflow, it appears in the graphical view as 'new' (without the prior result shown), but your previous transitions should still show in your approval details & transaction details.