my query is How to pass parameters to azure Dev ops build pipeline externally to control the tasks execution? To explain in detail heres the explanation:
I have a project in the azure Dev ops which has a build pipeline configured with some series of tasks involving building the solution, generating deployable package and etc. Usually this is getting executed well and good without any issues.
What I want to achieve is declare a pipeline variable in this project build definition that I can access externally when I say it is some thing like an altogether different or External application like ms flow so that I can pass a value to the newly created pipeline variable as stated above and using this value stored in this new variable I should be able to skip few steps in the build pipeline andi should be able to execute only few steps.
Let me explain with an example:
- Consider a project called A in azure Dev ops which has a build pipeline configured with 5 different tasks
 - In the same build pipeline let's say there is a new pipeline variable created called as flag
 - Consider a external application like ms flow which triggers the project A build pipeline in step 1
 - I should be able to pass a value to the flag variable crated in step 2 using the flow in 3rd step like true or false.
 - Using the flag value passed to the build pipeline from ms flow the tasks in build pipeline should be executed i.e. If the value coming through the external application to the build pipeline is true then it should execute only 3, 4 tasks in the build pipeline and skip others of false should execute all the steps in the build pipeline in azure Dev ops.
 
The query is how to achieve or make this kind of behaviour to happen?
Please help me out in solving this issue?
If passing the value to variable is not possible, can you please let me know how to achieve the skipping behaviour in azure Dev ops build pipeline triggered from external application like ms flow?
