Skip to content

Variable: WorkflowRunFilter ​

ts
const WorkflowRunFilter: z.ZodObject<{
  definitionKey: z.ZodOptional<z.ZodString>;
  from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
  outcome: z.ZodOptional<z.ZodArray<z.ZodEnum<{
     approve: "approve";
     manual_review: "manual_review";
     reject: "reject";
  }>>>;
  search: z.ZodOptional<z.ZodString>;
  status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
     cancelled: "cancelled";
     completed: "completed";
     failed: "failed";
     running: "running";
     waiting_callback: "waiting_callback";
     waiting_collection: "waiting_collection";
     waiting_manual: "waiting_manual";
  }>>>;
  subjectId: z.ZodOptional<z.ZodGUID>;
  to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
  trigger: z.ZodOptional<z.ZodArray<z.ZodEnum<{
     api: "api";
     console: "console";
     replay: "replay";
  }>>>;
}, z.core.$strip>;

Filters of GET /workflow-runs; with none, every run of the tenant.

Released under the Apache-2.0 License.