In this section, we will take a look at the auto correct functionality in detail. As mentioned in this article, auto correct functionality is available for all state-based artifacts such as Receive locations, Send Ports, Orchestrations, NT Services, SQL Jobs, and Host instances. We will take one artifact (say, Receive Location) and explain the different auto correct options available. The functionality works the same for all state-based artifacts.
The first and foremost step to get auto correct functionality to work is to Create a Threshold Alarm, map the artifacts to the alarm, and set up monitoring for the artifacts. Only then you will be able to enable auto correct for the artifact. Click here to read the steps to set up a threshold alarm.
- Alarm Selection - Select the alarm from the drop down
Artifacts - Select the artifacts for which you want to set up monitoring and auto correct functionality
- Applications - Receive Locations, Send Ports, Orchestrations
- BizTalk Servers/SQL Servers - NT Services
- SQL Server Instances - SQL Jobs
- BizTalk Environment - Host Instances
- State-based monitoring - Select the check box against the artifact for which you want to set up monitoring and set the "Expected state" of the artifact
- Auto Correct Drop down - The auto correct drop down will not get activated unless you perform activity in Step 3
Enabling Auto Correct - Select the check box against the artifact and Enable Auto Correct from the drop down. You will notice Auto Correct gets enabled with a Max Retry count of 5 (default) and Attempt count of 0.
- Max Retries - Click the numeric value to set the number of retries the monitoring service should attempt
- Attempt - Shows the number of times the monitoring service has performed the retry operation