set dag state failed
Syntax
set dag state failed dag-id dag-id run-id run-id
Description
Set a workflow run to failed state.
You can set a workflow run to failed state if errors in workflow tasks prevent the workflow from being successfully executed without displaying the state as failed. After setting it to failed state, you can reprovision the service order to reactivate the provisioning workflow.
Options
dag-id dag-id |
Unique ID generated for a workflow. |
run-id run-id |
Unique ID assigned to a workflow run. |
Sample Output
set dag state failed
root@cmgd-66b8c769c4-fbk74> set dag state failed dag-id onboard-infrastructure-0_10_26 run-id manual__2024-08-23T07:26:20+00:00 DAG ID: onboard-infrastructure-0_10_26 Run ID: manual__2024-08-23T07:26:20+00:00 DAG state changed to: failed
Release Information
Command introduced in Juniper Paragon Automation Release 2.2.0.