How do I trigger a workflow via CircleCI API (v2) WITHOUT interrupting other workflows already triggered?

How do I trigger a workflow via CircleCI API (v2) WITHOUT interrupting/altering workflows triggered by other API calls &/ other automatic build/tag triggers?

  • I followed the instructions: here
  • my config.yml:
version: 2.1
parameters:
  deploy:
    default: false
    type: boolean
workflows:
  version: 2
  test:
    # TODO: I want this workflow to start whenever I push a branch that matches
    # and I don't want it interrupted or stopped when the deploy workflow is triggered via API
    unless: << pipeline.parameters.provision_env >>
    jobs:
      - test:
          context: scope-circleci
          filters:
            branches:
              only:
                - /^develop.*/
                - /^master.*/
                - /release/.*/
            tags:
              only:
                - /^\d+\.\d+\.\d+.*/ # e.g. 1.23.4-rc5
  deploy:
    # TODO: I only want this workflow to start when I trigger it via API, and not be interrupted by pushing another branch
    when: << pipeline.parameters.provision_env >>
    jobs:
      - build:
          context: scope-circleci
      - build-on-prem:
          requires:
            - build
          context: scope-circleci-on-prem
jobs:
...