---
title: "How to queue all unsuccessful plans for a project"
canonical: "https://support.appfire.com/space/SUPPORT/89135841/How%20to%20queue%20all%20unsuccessful%20plans%20for%20a%20project"
format: markdown
---
# Description

Keep your project's builds successful by queuing failed builds one at a time to, hopefully, correct environmental problems or random errors.

# Steps

```
--action runFromPlanList --project XXX --state NOT_SUCCESSFUL  --excludeDisabled --continue --common "-a queueBuild --plan @plan@ --wait" 
```

## Notes

- Use the **wait** parameter to have only one build run at a time and report status back to this process.
- Use **continue** to keep going, even if a build fails along the way.
- Use **excludeDisabled** to not bother with disabled builds in the the list and reporting.