public void run() {
BpelRuntimeContext ntive = getBpelRuntimeContext();
Long scopeInstanceId = ntive.createScopeInstance(null, _oprocess.procesScope);
createGlobals();
ProcessInstanceStartedEvent evt = new ProcessInstanceStartedEvent();
evt.setRootScopeId(scopeInstanceId);
evt.setScopeDeclarationId(_oprocess.procesScope.getId());
ntive.sendEvent(evt);
ActivityInfo child = new ActivityInfo(genMonotonic(),
_oprocess.procesScope,
newChannel(TerminationChannel.class), newChannel(ParentScopeChannel.class));