Skip to content

Getting Runtime Information

Jinyoung Jang edited this page Oct 24, 2016 · 2 revisions

Activity Definition Information

어떤 액티비티가 SubProcess 내인지 아닌지

 boolean inSubProcess = (getParentActivity() instanceof SubProcess);

Instance Information

Multiple Instance 관련 토큰 ID

 String scopeId = instance.getExecutionScopeContext().getExecutionScope()
 

실행인스턴스가 시뮬레이션인지 아닌지

 instance.isSimulation()