# Possibility to choose modules to call from a project

**URL:** <https://community.easymorph.com/t/possibility-to-choose-modules-to-call-from-a-project/4696>\
**Category:** General Q&A\
**Created:** [July 31, 2023, 2:56pm UTC](https://community.easymorph.com/t/possibility-to-choose-modules-to-call-from-a-project/4696 "2023-07-31T14:56:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Knut\_Petter\_Nor](https://community.easymorph.com/user_avatar/community.easymorph.com/knut_petter_nor/32/4326_2.png) [@Knut\_Petter\_Nor](https://community.easymorph.com/u/Knut_Petter_Nor)\
**Post date:** [July 31, 2023, 2:56pm UTC](https://community.easymorph.com/t/possibility-to-choose-modules-to-call-from-a-project/4696/1 "2023-07-31T14:56:31Z")

</div>

Hi,  
Would it be possible to extend the current command to call an Easymorph-project by choosing which module in the project to “activate”. I believe this would be similar to the function where we define an API-endpoint (Post, Get etc) in a project.

I think this would be useful in situations where there are a number of variations in calling the project, and where you try to mimic an API-approach in the programming style.

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [July 31, 2023, 4:35pm UTC](https://community.easymorph.com/t/possibility-to-choose-modules-to-call-from-a-project/4696/2 "2023-07-31T16:35:48Z")

</div>

A project is an encapsulation of transformation logic. We deliberately hide modules from outside projects so that they don't have a hard dependency on the internal implementation and structure of the project.

If you need to activate different workflow branches (modules) of a project:

1. Create a start module with a parameter that defines which branch (module) to execute.
2. Execute the necessary module (or workflow branch) based on that parameter. Note that the "Call" and "Iterate" actions allow specifying module name as a parameter.

---

<div class="post-metadata">

**Author:** ![Knut\_Petter\_Nor](https://community.easymorph.com/user_avatar/community.easymorph.com/knut_petter_nor/32/4326_2.png) [@Knut\_Petter\_Nor](https://community.easymorph.com/u/Knut_Petter_Nor)\
**Post date:** [July 31, 2023, 6:34pm UTC](https://community.easymorph.com/t/possibility-to-choose-modules-to-call-from-a-project/4696/3 "2023-07-31T18:34:48Z")

</div>

Hi Dmitry,

Thanks for the response and the suggested workaround to solve this use-case. This works fine for me.
