Run path filtering with multiple configs

I would like to run two different workflows depending on the branch that is being created. But only one of the continuation run at a time. The other one throws an error:

Pipeline is not in setup state.

version: 2.1

setup: true

orbs:
  path-filtering: circleci/path-filtering@2.0.1

workflows:
  filter-workflows-run-sonarcloud:
    jobs:
      - path-filtering/filter:
          base-revision: master
          mapping: |
            backend/.* backend-workflow true
            frontend/.* frontend-workflow true
            frontend-dashboard/.* dashboard-workflow true
          config-path: .circleci/workflows.yml
      - path-filtering/filter:
          base-revision: preprod
          config-path: .circleci/preprod.yml