Changes to support embedded Process inside ProcessInstance