I identified that the issue is persistent only in the Q system. In all other systems (dev, training, production, and other set of systems) it is working fine.
There is some issue with the version copy step as I reduced the chain to only version copy step in Q and it failed as well. (version copy runs successfully when run through program in background).
Even tried multiple imports - re-importing the entire chain, deleting and then re-importing the entire chain, etc but no success in the Q system.
Thought of sharing the findings with all.
Please refer to the screenshot - it does the version copy successfully, however, fails only when it is about to exit the step.
Thanks,
Hiren