updated the Run type condition evaluation to use the new isInOrchestrationContext() method.