Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »



Failure policy controls the behavior when a job's execution encountered an error.

Options

Behavior

"failure_policy": "continue"

Log error in the audit log and continue execution. This is the default option.

"failure_policy": "halt"

Log error in the audit log and stop execution.

{
    "name":"Simple Transfer Job with Failure Policy",
    "kind": "transfer",
    "transfer": {
        "failure_policy": "halt",
        "transfer_type": "copy",
        "source": {
            "connection": { "id": "{{nfs_connection}}" },
            "target": {
                "path": "/SourcePath"
            }
        },
        "destination": {
            "connection": { "id": "{{cloud_connection}}" },
            "target": {
                "path": "/DestinationPath"
            }
        }
    },
    "schedule": {
        "mode": "manual"
    }
}

  • No labels