You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Combination with active-active and active-passive
138
+
139
+
This example shows a combined setup where the primary location has both active logic app instances, while the secondary location has active-passive logic app instances. If the primary location experiences a disruption or failure, the active logic app in the secondary location, which is already handling a partial workload, can take over the entire workload.
140
+
141
+
* In the primary location, an active logic app listens to an Azure Service Bus queue for messages, while another active logic app checks for emails by using a Office 365 Outlook polling trigger.
142
+
143
+
* In the secondary location, an active logic app works with the logic app in the primary location by listening and competing for messages from the same Service Bus queue. Meanwhile, a passive inactive logic app waits on standby to check for emails when the primary location becomes unavailable but is *disabled* to avoid rereading emails.
144
+
145
+

146
+
135
147
<aname="state-history"></a>
136
148
137
149
## Logic app state and history
@@ -188,7 +200,7 @@ When your logic app starts with a Recurrence trigger, you need to set up your pr
188
200
189
201
For example, suppose that you have a logic app that needs to run every 10 minutes. You can set up your logic apps and locations so that if the primary location becomes unavailable, the secondary location can take over the work:
190
202
191
-

203
+

192
204
193
205
* In the primary location, set up [active-passive roles](#roles) for these logic apps:
194
206
@@ -298,7 +310,7 @@ For this task, create a basic health-check logic app that performs these tasks:
298
310
> [!IMPORTANT]
299
311
> The health-check logic app must use a Response action so that the app responds synchronously, not asynchronously.
300
312
301
-
* Optionally, to further determine whether the primary location is healthy, you can factor in the health of any other services that interact with the target logic app in this location. Just expand the health-check logic app to assess the health for these other services too.
313
+
1. Optionally, to further determine whether the primary location is healthy, you can factor in the health of any other services that interact with the target logic app in this location. Just expand the health-check logic app to assess the health for these other services too.
0 commit comments