def getActivityRuntimeEnvironment(self): return getActivityRuntimeEnvironment()
def getActiveProcess(self): path = getActivityRuntimeEnvironment()._message.active_process if path: return self.unrestrictedTraverse(path)