elioria-sst-x
    Preparing search index...

    Class WorkPermitApprovalWorkflow

    Hierarchy

    • AgentWorkflow<AgenticSession, WorkPermitApprovalParams, DefaultProgress, Env>
      • WorkPermitApprovalWorkflow
    Index
    • Parameters

      • ctx: ExecutionContext
      • env: Env

      Returns WorkPermitApprovalWorkflow

    • Generated

      Executes run.

      Parameters

      • event: AgentWorkflowEvent<WorkPermitApprovalParams>

        The event value.

      • step: AgentWorkflowStep

        The step value.

      Returns Promise<
          {
              approvedBy: string;
              approverRoles: string[];
              operationId: string;
              planHash: string;
              status: "APPROVED";
          },
      >

      The function result.

      Objective: In module apps/agente/src/workflows/work-permit-approval.ts, run run.

      Behavior: Async; accepts event and step; returns a value; invokes step.do.