Forum Discussion
MikeKolling
Oct 05, 2023Copper Contributor
Recursively Check In all D365 CRM SOlutions for one APP
Looking to run a single pipeline with the APP name as a parameter, and the pipeline query to find all the Solutions under that APP, and run a subpipeline which Extracts and Checks in each Solution into REPOS.
Is this possible?
1 Reply
Yes you can, below a simple sample:
parameters: - name: appName type: string steps: - script: | $solutions = Get-SolutionsForApp -AppName ${{ parameters.appName }} foreach ($solution in $solutions) { TriggerSubPipeline -SolutionName $solution.name }You’ll need to implement Get-SolutionsForApp to query Dataverse for solutions tied to the app, and TriggerSubPipeline to call the extraction/check-in pipeline.