}
}
}
// add current state
SessionId sessionId = liveParticipant.getRunningInstance().getSessionId();
Map<ResourceId, CurrentState> curStateMap = liveParticipant.getCurrentStateMap();
for (CurrentState curState : curStateMap.values()) {
if (!sessionId.equals(curState.getTypedSessionId())) {
continue;
}
ResourceId resourceId = curState.getResourceId();
StateModelDefId stateModelDefId = curState.getStateModelDefId();