LightningWeb.WorkflowController (Lightning v2.15.0-pre5)
View SourceSummary
Functions
Create a manual workflow run.
Get steps for a run filtered by job_id.
Retry an existing run from a specific step.
Functions
Create a manual workflow run.
Body:
- job_id: Job to start from (required)
- trigger_id: Trigger to start from (alternative to job_id)
- dataclip_id: Existing dataclip ID (optional)
- custom_body: Custom JSON input (optional)
Note: Either job_id or trigger_id must be provided. Either dataclip_id or custom_body can be provided, but not both.
Get steps for a run filtered by job_id.
Query params:
- job_id: Filter steps for a specific job (required)
Returns the step data including id, input_dataclip_id, and job_id. Used by the frontend to determine if a retry is available.
Retry an existing run from a specific step.
Body:
- step_id: The step ID to retry from (required)
Creates a new run on the same work order, copying independent upstream steps.