We have the following environments:
- Host (Used for the deployment pipelines as explained in the documentation)
- DEV (Developement)
- STG (Target)
- PRD (Target)
We have a pipeline deploying from DEV to STG/PRD and it works just fine. Now in order to have custom gating business logic between environments, we created a solution in the host environment with flows acting as gates, also explained in the documentation.
Everything works but my question is the following: Is there a way to create a pipeline for deploying that main "host" solution responsible for gating? I see two problems:
- Creating a "DEV -> Host" pipeline could work but how could I test the flow in the DEV environment, as the flow triggers on a dataverse change that occurs in the deployment Dataverse tables, which are located in the Host environment only...
- Even if I figure out how to test the flow in DEV, the solution I would be trying to deploy to the Host, is actually being used by the very same pipeline that is trying to deploy, so there would definitely be some sort of conflict?
So far the only solution I see is to edit the gating flows directly in the host environment, so "directly in production". We could test new business logic in a totally separate tenant, but would have to merge the changes to the target host environment manually which is error prone.
Thanks!

Report
All responses (
Answers (