# Add ability to reference step/workflow globally between apps

**URL:** <https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727>\
**Category:** Steps\
**Created:** [February 9, 2017, 2:10pm UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727 "2017-02-09T14:10:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [February 9, 2017, 2:10pm UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/1 "2017-02-09T14:10:41Z")

</div>

_From Callum Taylor on 2016/09/23 10:55:15 +0000_  
  
As an agency with many apps, we have a few steps that are the same for every app (such as sending slack message, uploading to s3 etc), some of these steps are simple, but chaging them for all apps (we will most likely have 30+) will be pretty time consuming.

Would be nice to have an ability to reference a step within a workflow, or a workflow that can just be a “pre/post” workflow, somehow with an “account step/workflow” feature, or a new step that would allow the configuration of the executing workflow on the fly.

Similarly to this would be to have the ability to have account level file storage as well as project level file storage (for shared keystores etc), this could potentially be used to serve a “step/workflow” configuration file which then could be referenced or downloaded/executed using the file downloader step  
  
_Copied from original feature request: [http://bitrise.uservoice.com/forums/235233-general/suggestions/16317226-add-ability-to-reference-step-workflow-globally-be](http://bitrise.uservoice.com/forums/235233-general/suggestions/16317226-add-ability-to-reference-step-workflow-globally-be)_

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [February 9, 2017, 2:10pm UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/2 "2017-02-09T14:10:42Z")

</div>

_From Felipe Oliveira on 2016/10/13 17:45:37 +0000_  
  
I have 27 apps, all workflows use the same steps, only changing thinks that could be stored in variables, like the schema, itunes connect app id, etc.

It would be perfect if I could use one workflow for all apps, only changing the variables for each one.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [February 9, 2017, 3:48pm UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/3 "2017-02-09T15:48:54Z")

</div>

Note: you can do something like this by either including the bitrise.yml in your repository (or in a shared one), or using a github gist or any other source, and following this guide: [http://devcenter.bitrise.io/tips-and-tricks/use-bitrise-yml-from-repository/](http://devcenter.bitrise.io/tips-and-tricks/use-bitrise-yml-from-repository/)

---

<div class="post-metadata">

**Author:** ![crysxd](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/crysxd/32/326_2.png) [@crysxd](https://discuss.bitrise.io/u/crysxd)\
**Post date:** [April 6, 2017, 12:42pm UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/4 "2017-04-06T12:42:11Z")

</div>

Hey,  
it would be great to be able to import a workflow or single steps into a workflow. Our workflow looks like this: setup, build, test, UI test. It would be cool to extract the UI test steps into a extra workflow and just import the ui test worflow into our main workflow (and others). This makes it easy to share common steps between workflows or allows us to just run the UI tests.

Cheers!

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 6, 2017, 12:44pm UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/5 "2017-04-06T12:44:37Z")

</div>

@crysxd just a note: if all you want is a simple copy, you can do that in `bitrise.yml` mode, e.g. in the Workflow Editor switch to the `bitrise.yml` mode, copy the related steps’ / workflows’ definition and paste it into the other project’s `bitrise.yml` definition.

For a more advanced “share steps/workflows” feature please vote on this feature request.

---

<div class="post-metadata">

**Author:** ![raphaelmina](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/raphaelmina/32/419_2.png) [@raphaelmina](https://discuss.bitrise.io/u/raphaelmina)\
**Post date:** [June 19, 2017, 10:00am UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/6 "2017-06-19T10:00:34Z")

</div>

Hi @viktorbenei,  
Is this “share steps/workflows” on the roadmap ? It would be awesome !

PS : I already voted

Regards,

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [June 19, 2017, 10:08am UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/7 "2017-06-19T10:08:58Z")

</div>

On the roadmap: definitely. Time estimation: not yet.

We’re still thinking about the right solution for this, and there are a couple of technical changes we’re working on which affects the infrastructure related codes & tools, probably after that it will be easier to see how this should be implemented.

---

<div class="post-metadata">

**Author:** ![raphaelmina](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/raphaelmina/32/419_2.png) [@raphaelmina](https://discuss.bitrise.io/u/raphaelmina)\
**Post date:** [June 19, 2017, 10:21am UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/8 "2017-06-19T10:21:14Z")

</div>

OK. That would enhance so much the way I manage my 25 apps that I can’t wait for it 🙂

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [June 19, 2017, 12:03pm UTC](https://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/9 "2017-06-19T12:03:08Z")

</div>

Wouldn’t [http://devcenter.bitrise.io/tips-and-tricks/use-bitrise-yml-from-repository/](http://devcenter.bitrise.io/tips-and-tricks/use-bitrise-yml-from-repository/) work? ([Add ability to reference step/workflow globally between apps](http://discuss.bitrise.io/t/add-ability-to-reference-step-workflow-globally-between-apps/727/3?u=viktorbenei))

What would be your ideal solution @raphaelmina?
