def get_normalized_context_execution_task_event(cls, event):
        """
        Return a dictionary with normalized context attributes for execution event or object.
        """
        context = event.get("context", {})

        result = {"parent_execution_id": None, "execution_id": None, "task_name": None}

        if "orquesta" in context:
            result["parent_execution_id"] = context.get("parent", {}).get(
                "execution_id", None
            )
            result["execution_id"] = event["id"]
            result["task_name"] = context.get("orquesta", {}).get(
                "task_name", "unknown"
            )
        else:
            # Action chain workflow
            result["parent_execution_id"] = context.get("parent", {}).get(
                "execution_id", None
            )
            result["execution_id"] = event["id"]
            result["task_name"] = context.get("chain", {}).get("name", "unknown")

        return result

        Return a dictionary with normalized context attributes for execution event or object.
        
st2client/st2client/commands/action.py