Thanks for your response @machak.
Just curious to know about bit differences between publish or publish-branch.!!
Actually I had posted my another query Cannot invoke workflow documentworkflow action publishBranch: action not allowed or undefined
To solve that I had started to understand the scxml. If you can help me on my above issue, would be highly appreciable.
Thanks