Reuse Microflow using Model Share

0
Below page on mendix model share shows that I can reuse a microflow by importing it into my desktop modeler using the shared url https://modelshare.mendix.com/about   I created a microflow in project1 under Project1Module and this microflow has sub microflows, java actions. I shared this microflow and now when I imported this shared microflow to Project2 having Project2Module. It shows the microflow as it is in Project1 but project2 has errors about the domain model entities, sub microflows, java actions used in shared microflow. I want to know if I have to do any extra steps to import shared microflow and all the required actions, entities, etc... of this microflow?
asked
2 answers
2

When sharing an microflow, you only share the microflow.

Modelshare is mend to share knowledge, ideas etc. Not for sharing full functionalities which requires Java actions entities etc.

If you want to share a function; then you need a module containing that function. By exporting the module package you can share the module among your own apps, share it a document through email or any other document transfer AND ofcourse when you have created an awesome module (like the email , gmaps module) then share it with the whole community via the appstore

answered
1

Hi Mohan,

If you import a shared microflow you need to make sure in your project that you have all java actions and sub microflows that are used. Regarding entities, if there are any create or change activities, the entity that is referred to in the imported microflow needs to match the module name and entity name of an entity in your project (basically you need to have the same structure as the project that the microflow was exported from). 

answered