Interface WorkflowCreateInput

Input payload used when creating a workflow instance.

interface WorkflowCreateInput {
    workflowId: string;
    definitionId: string;
    definitionVersion?: string;
    createdAt: string;
    createdByUserId?: string;
    conversationId?: string;
    context?: Record<string, unknown>;
    roleAssignments?: Record<string, string>;
    metadata?: Record<string, unknown>;
}

Properties

workflowId: string
definitionId: string
definitionVersion?: string
createdAt: string
createdByUserId?: string
conversationId?: string
context?: Record<string, unknown>
roleAssignments?: Record<string, string>
metadata?: Record<string, unknown>