# How to use Pipeline Parameter value as context name?

**URL:** <https://discuss.circleci.com/t/how-to-use-pipeline-parameter-value-as-context-name/44528>\
**Category:** Build Environment\
**Created:** [June 23, 2022, 11:58am UTC](https://discuss.circleci.com/t/how-to-use-pipeline-parameter-value-as-context-name/44528 "2022-06-23T11:58:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![onenessboy](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/onenessboy/32/30196_2.png) [@onenessboy](https://discuss.circleci.com/u/onenessboy)\
**Post date:** [June 23, 2022, 11:58am UTC](https://discuss.circleci.com/t/how-to-use-pipeline-parameter-value-as-context-name/44528/1 "2022-06-23T11:58:23Z")

</div>

Hi,

I have my config as this. I am trying use pipeline parameter value as context name in workflow definition. is that possible ? It not working for me. And also context with that parameter name already exist in circleci organisation already

```auto

version: 2.1
orbs:
  jq: circleci/jq@2.2.0
parameters:
  clientcode:
    type: string
    default: ""
  environment:
    type: string
    default: ""
executors:
  my-executor-terraform:
    docker:
      - image: docker.mirror.hashicorp.services/hashicorp/terraform:light
    working_directory: /home/circleci/workingfiles
  my-executor-createcicontext:
    docker: 
      - image: cimg/base:2022.05      
    working_directory: /home/circleci/workingfiles
jobs:
  
  file-transform:
    executor: my-executor-createcicontext
    steps:
      - checkout
      - jq/install
      - run:
          command: |
            bash ./scripts/abtransform.sh
      - persist_to_workspace:
          root: /home/circleci/workingfiles
          paths:
            - terraform.tfvars.json        

workflows:
  orp-azure-infra-workflow:
    jobs:    
      - file-transform:
         context:
           - Common
           - <<pipeline.parameters.clientcode>>

```

Please suggest

---

<div class="post-metadata">

**Author:** ![onenessboy](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/onenessboy/32/30196_2.png) [@onenessboy](https://discuss.circleci.com/u/onenessboy)\
**Post date:** [June 24, 2022, 2:56pm UTC](https://discuss.circleci.com/t/how-to-use-pipeline-parameter-value-as-context-name/44528/2 "2022-06-24T14:56:52Z")

</div>

Its working as intended after having Polling for two min between jobs

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [July 4, 2022, 2:56pm UTC](https://discuss.circleci.com/t/how-to-use-pipeline-parameter-value-as-context-name/44528/3 "2022-07-04T14:56:56Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
