February 2019
Intermediate to advanced
494 pages
11h 5m
English
Switch is a select statement in Logic Apps that chooses a single switch action based on the input. When you have lots of if…else logic in your workflow, switch can be more efficient in terms of performance and overall workflow design. In the following Logic Apps workflow example with switch, we have a Logic Apps instance that listens for user sentiment through an HTTP endpoint and, based on the result, sends an auto-response to the calling application over HTTP using the request-response pattern:

In the workflow displayed in the preceding screenshot, we've parsed the request JSON payload with the Parse JSON action and have ...
Read now
Unlock full access