# How to pass pipeline parameters when using path filtering ORB

**URL:** <https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053>\
**Category:** Build Environment\
**Created:** [November 24, 2021, 6:33pm UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053 "2021-11-24T18:33:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sleegitus](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/sleegitus/32/28732_2.png) [@sleegitus](https://discuss.circleci.com/u/sleegitus)\
**Post date:** [November 24, 2021, 6:33pm UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/1 "2021-11-24T18:33:04Z")

</div>

I want to trigger a pipeline using the pipeline API and i want to pass a pipeline parameter when calling the API. I was trying to simulate it using the CircleCI UI. the console has a button “Run Pipeline” and you can pass a parameter as an option. i passed a parameter defined in continue\_config.yml but i got an error - “Unexpected argument(s): my-parameter”. We are using path filtering ORB. Could anyone let me know how to pass a parameter when using path filtering ORB?

---

<div class="post-metadata">

**Author:** ![nbialostosky](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/nbialostosky/32/24962_2.png) [@nbialostosky](https://discuss.circleci.com/u/nbialostosky)\
**Post date:** [November 29, 2021, 7:29pm UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/2 "2021-11-29T19:29:57Z")

</div>

Hi @sleegitus – welcome to Discuss!

Setup workflows are going to be a bit different when it comes to starting a pipeline with a parameter. The order of operations is the setup workflow first executes, then runs and essentially “continues” the next configuration file with any items specified in the setup workflow.

Because of this, if you don’t have the pipeline parameter specified at the top-level config file (your `config.yml` the one that executes your setup workflow) it won’t recognize the parameter. Can you try adjusting that, so the parameter is specified both in the `continue_config.yml` file and the `config.yml` file?

If the above doesn’t work please let me know and I can assist further!

-Nick

---

<div class="post-metadata">

**Author:** ![sleegitus](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/sleegitus/32/28732_2.png) [@sleegitus](https://discuss.circleci.com/u/sleegitus)\
**Post date:** [December 1, 2021, 5:33pm UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/4 "2021-12-01T17:33:40Z")

</div>

Thank you for responding. The secret is to define the parameters in both configs. After hurdling an error like “Conflicting pipeline parameters.”, I was finally able to pass a parameter. Thanks again.

---

<div class="post-metadata">

**Author:** ![nbialostosky](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/nbialostosky/32/24962_2.png) [@nbialostosky](https://discuss.circleci.com/u/nbialostosky)\
**Post date:** [December 1, 2021, 7:57pm UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/5 "2021-12-01T19:57:54Z")

</div>

You’re welcome and glad to hear you were able to work it out!

If you have any other issues though let me know!

---

<div class="post-metadata">

**Author:** ![srp-31](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/srp-31/32/29642_2.png) [@srp-31](https://discuss.circleci.com/u/srp-31)\
**Post date:** [March 17, 2022, 1:30pm UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/6 "2022-03-17T13:30:13Z")

</div>

Hi sleegitus

How did you avoid the error “Conflicting pipeline parameters.”?

---

<div class="post-metadata">

**Author:** ![srp-31](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/srp-31/32/29642_2.png) [@srp-31](https://discuss.circleci.com/u/srp-31)\
**Post date:** [March 20, 2022, 8:02am UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/7 "2022-03-20T08:02:57Z")

</div>

@sleegitus @nbialostosky Tagging you to get some attention and help 🙂

Copying to both configs leads to conflicts like sleegitus mentioned.

I followed anothe thread [here](https://discuss.circleci.com/t/manually-trigger-path-filtered-workflow/42346) . But is there a simplere solution without continuation orb?

---

<div class="post-metadata">

**Author:** ![alclark](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/alclark/32/25931_2.png) [@alclark](https://discuss.circleci.com/u/alclark)\
**Post date:** [March 21, 2022, 5:52pm UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/8 "2022-03-21T17:52:25Z")

</div>

@srp-31 Are your pipeline parameters you set when triggering the pipeline named the same as those in your config? If so you’ll likely need to rename the other parameters by appending something like `_continued` or such so avoid a conflict.

If you’re still having issues and you have a specific example I’d be happy to take a look, or you can raise a support ticket so we can investigate further.

---

<div class="post-metadata">

**Author:** ![ayushi-dentsu](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/ayushi-dentsu/32/33926_2.png) [@ayushi-dentsu](https://discuss.circleci.com/u/ayushi-dentsu)\
**Post date:** [October 10, 2023, 10:58am UTC](https://discuss.circleci.com/t/how-to-pass-pipeline-parameters-when-using-path-filtering-orb/42053/9 "2023-10-10T10:58:14Z")

</div>

I have a similar use case; I defined the parameters in both the config files but unable to get past “Conflicting pipeline parameters.” error message.

If I am renaming the parameters, it say unexpected arguments, Keeping them same in both the config files gives conflicts in parameters. Need help.
