Business Journeys Health Thresholds

A threshold is a boundary of acceptable or normal performance. Business Journey authoring provides default health thresholds against which it compares the performance of the business workflow. The health thresholds are based on the total time to complete all the milestones in your Business Journey. The threshold values are calculated by determining the standard deviation from the simple moving average over an interval of time. The default time interval is two hours. This means that if the average end-to-end time for the last two hours is N milliseconds, and if the Business Journey takes time equal to the standard deviation over N milliseconds (ms), it violates the threshold.

Consider a simple moving average that is 1500 ms with a standard deviation of 100 ms. If you set the threshold to three, it means that the threshold is three times the standard deviation. In other words, a transaction that takes more than 1500 + (3*100) or 1800 ms violates the health threshold.

Before configuring the health threshold for a Business Journey definition, consider the following:

  • A user experience (normal, slow, very slow, stall) is assigned for the Business Journey event when a value for totalTime is present and is greater than zero. Total time for the event could end up less than zero if the milestones are defined in an incorrect order. This can also happen even after the order is correctly defined, but the milestones are not in time order such that an early milestone has a future date compared to a later milestone.
  • The total time for the Business Journey is calculated when both the first and the last milestones events have been reached. Therefore, the user experience cannot be determined and displayed until total time for the Business Journey is available.
  • Typically when a milestone has an error, the entire Business Journey workflow does not complete. However, if for some reason, all the milestones complete even when milestone errors exist, the total time for the Business Journey is available. However, in this case, we will retain overall user experience as an error and not change to Normal, Slow, and so on.
  • After a Business Journey is initially enabled, Business Journey events are generated. The standard deviation is calculated every five minutes, so the first few Business Journey events will not have a user experience assigned to them.
  • The minimum duration over which standard deviation is calculated is 30 minutes.