mix durable.run (Durable v0.1.0-rc)
View SourceStarts a workflow execution.
Usage
mix durable.run MODULE [options]Options
--input JSON- JSON input for the workflow (must be an object)--workflow NAME- The workflow name within the module--queue QUEUE- The queue to run on (default: "default")--priority N- Priority level (default: 0)--name NAME- The Durable instance name (default: Durable)
Examples
mix durable.run MyApp.OrderWorkflow
mix durable.run MyApp.OrderWorkflow --input '{"order_id": 123}'
mix durable.run MyApp.OrderWorkflow --workflow process_order --queue high_priority