Troubleshooting Error Message: "Max number of workflows exceeded."

Overview

CircleCI Dynamic Configuration, formally known as Setup Workflow, allows for a maximum of 1 workflow in the initial setup workflow. So if setup: true is set then the following config would be invalid:

workflows:
  one:
    jobs:
      - unit-tests
  two:
    jobs:
      - integration-tests

 

Solution

Customers can work around this by combining both workflows into a single workflow:

workflows:
  one:
    jobs:
      - unit-tests
      - integration-tests

 

Note: More than one workflow can be defined within a dynamic config, and the above error can be avoided as long as conditional parameters are set so that only one workflow will be executed.

 

Additional Resources:

Was this article helpful?
3 out of 22 found this helpful

Comments

0 comments

Article is closed for comments.