Disable/Enable an 'Action' in the LogicApp workflow.
During building & testing a LogicApps, I need to skip certain actions to verify behavior of later actions independently in the flow. Currently, I need to remove the action to perform such task (which is not very productive).
Providing enable/disable feature for action(s) will help in this scenario.
Also, in case, where action needs some input from previous action then feature like "disabling with default output" (mock) will be a great help during development phase.
Logic Apps now supports static results that allows you to not have the action execute using mock outputs.
It has been marked as completed but I'm unable to get anything like this to disable an action item in logic app.
We need the ability to enable/disable actions and steps in an Azure Logic app without having anything to do with testing.
For example, we migrated from Azure Job Scheduler to Azure Logic Apps. Our original Job Scheduler had multiple HTTP GET actions which we could independently enable/disable, however with a Logic App we created a Recurrence trigger and then multiple child HTTP GET actions - but we cannot disable the HTTP GET actions individually (I expected there to be a "Disable / Enable" option in the top-right corner menu).
I recognise that I could wrap the actions in "Condition" blocks that always evaluate to False, but this makes my Azure Logic graph more complicated than it needs to be.
Jerome Labbe commented
I don't understand why it is not already built in
I like the idea, this would also help with isolated testing in scenarios where step n is waiting for n-1 to get data from a web api call. Users would be able to mock the data for unit testing instead of API being done.