Let's take a deep dive into the Process Monitoring screen to understand the functionality of every option and control present in the page. The following screenshot depicts the complete process monitoring screen in BizTalk360.
The first and foremost step in Process Monitoring is to Create an Alarm and map the alarm for process monitor alerts. Click here to understand the process of creating an alarm and mapping it for process monitor alerts. Without creating an alarm, when you try to create a process monitor, you will see an error message as:
Let's take a look at each item in the screen, in detail:
- Alarm Name - As mentioned above, the first step to set up process monitoring is to create an alarm and map the alarm for process monitor alerts. Once the alarm is created and mapped, the alarm name will be displayed in the drop down.
- Friendly Monitor Name - A meaningful name for the Process (Data) Monitor. Say, as per your business requirement you are expecting atleast 10 messages every hour from the SAP system. The monitor name can be set as "10 Messages per hour from SAP".
- How many messages you expect (operator) - Select the appropriate symbol (<, =, >) from the drop down depending on your requirement. Say, if you are expecting a 100 messages in a business day, select '=' from the drop down. If you are definitely expecting 50 messages or more, select '>' from the drop down. Similarly, if you are expecting no more than 50 messages, select '<' from the drop down.
- How many messages you expect (count) - Enter the number of messages (count) you are expecting during a time frame. As per the above scenario in step 3, enter the value of 100/50.
- Receive Port/Receive Location - Select the receive ports/locations that you wish to monitor with the process monitoring functionality. You need to select atleast one receive location/send port in order to set up process monitoring. Say, you have one receive port (Contoso_ReceivePort) that is mapped to 10 receive locations (Contoso_ReceivePort_ReceiveLocation1, Contoso_ReceivePort_ReceiveLocation2, and so on) and you wish to monitor each of these receive locations separately. In this case, select the different receive locations from the drop down one by one.
- Send Ports - Select the send ports that you wish to monitor with the process (data) monitoring functionality
How often you want to monitor - Select the duration how often you want to monitor the state of the receive location and/or send port. The options are - Daily, Weekly, and Monthly. Depending on the selection, you can add further filter criteria on how often you want to monitor.
- Daily - will set up the process (data) monitor to execute everyday
Weekly - The process (data) monitor will execute on the selected days of the week (Every Day, Monday-Friday, or the selected day of choice). To add a single day of the week, click the control and select the day of your choice.
Monthly - The process (data) monitor will execute on the selected day of the month. To add a specific day of the month, enter the date in the space provided or select the date from the drop down.
When during the day - Select the time when the process (data) monitor must execute on a particular day during the business hours. You can customize your business hours by selecting the values from the Business Day Start and Business Day End options. By default, the business day start time is 9 AM and business day end time is 5 PM. Depending on the business hour selection, the following options are available when you want the process monitor to execute on a particular day.
At what time
The minimum time interval supported is 15 minutes, which means the process (data) monitor will execute 4 times (15 minutes x 4 = 60 minutes) in an hour.The minimum time interval supported is 1 hour.
At the end of the business day - If this option is chosen, the process (data) monitor will execute depending on the value chosen in the Business Day End field. For e.g, if the business end time specified is 5 PM (default value), the process monitor will execute exactly at 5 PM.
Monitor every X minutes/hours - You can define specific intervals during the business hours when the process (data) monitor should execute. The options available are Minutes and Hours.
Minutes - Select the number of minutes after which the process (data) monitor should execute. E.g., 30 minutes means the process monitor will execute once in every 30 minutes.
Hours - Select the number of hours after which the process (data) monitor should execute during the business hours. E.g., 2 hours means the process monitor will execute once in 2 hours between 9 AM and 5 PM.
- At the end of the business day - If this option is chosen, the process (data) monitor will execute depending on the value chosen in the Business Day End field. For e.g, if the business end time specified is 5 PM (default value), the process monitor will execute exactly at 5 PM.
Advanced - This section can be used to define advanced settings for process monitoring. You can define a date range (from date and to date) when you want the process (data) monitor to execute. For e.g., you are expecting a bunch of 100 files from your trading partner next week between Monday and Tuesday. You can set up a process monitor defining the start date to be next Monday and the end date to be next Tuesday. In addition to this, you can set up the other settings mentioned above in the previous steps. This means the process monitor will only start to run next Monday and will not execute after Tuesday.
- Summary - The summary information will automatically be populated based on the information selected in the previous columns
Save & Close - Once all the values are selected in the previous steps, click Save & Close to save the settings
- Save & Add another - The entered values will be saved and a new screen will be displayed to create another data monitor
- Close - Click Close to discard the changes. When the close button is clicked, system will display a confirmation message as "There are unsaved changes, do you still want to close?". Click Yes to close the Process Monitoring creation window. Click No to remain on the same page
- General guideline - Provides information about the operations that can be performed in the current screen