Welcome to the Alteryx Knowledge Base
Knowledge Base / Server / Automatically Disabling Alteryx Server Schedules After Repeated Workflow Failures
Automatically Disabling Alteryx Server Schedules After Repeated Workflow Failures
Created/Edited -
Question
Can Alteryx Server automatically stop a scheduled workflow after it fails more than a set number of times?
Environment
- Alteryx Server
- Schedules
- Server API
- Executing & Scaling Workflows
Answer
No. Alteryx Server does not provide a native setting that automatically disables a schedule after a workflow fails a specified number of times.
If this behavior is required, it can be implemented through a custom monitoring solution. The process would typically:
- Monitor workflow execution results or job history.
- Track and count workflow failures.
- Compare the failure count against a predefined threshold.
- Use the Alteryx Server API to disable the schedule once the threshold is reached.
The Alteryx Server API schedule object contains an enabled field. Updating the schedule and setting enabled: false disables the schedule, preventing future runs until it is re-enabled.
Additional Information
- This functionality requires custom development and is not available as a built-in Server feature.
- The monitoring and automation logic can be implemented using external scripts, applications, or orchestration tools that interact with the Server API.
- The Alteryx Server API Schedules endpoints documentation provides details on retrieving and updating schedule objects, including the enabled property used to disable schedules:
- Any custom solution should be thoroughly reviewed and tested in a non-production environment before deployment to production.
Was this article helpful?