Watch Sojourn in the Health Monitor
See whether field tracking works, what failed, why it failed, and the step that fixes it, and set when the Health Monitor turns amber or red.
The Health Monitor tab in the Sojourn app shows whether field tracking is working right now. It is separate from Sojourn Settings, so a support or operations group can watch Sojourn and fix its errors without changing its configuration.
Who can open it#
Give people the Sojourn Health Monitor permission set; the Sojourn Admin permission set includes it. Without either, the tab says which permission set is needed and loads nothing. Health Monitor users can create the missing Interval, ignore, or resolve any error. Fixes that change configuration open Sojourn Settings, so for Health Monitor users without Sojourn Admin the page says "Ask a Sojourn admin" instead.
Overview#
- The banner reads Healthy, Needs attention, or Not working, with one line that says what needs you. Check again reads everything afresh. How many open errors make it Needs attention or Not working is set on the Health screen; see Health thresholds.
- Capture lists what stops Intervals being recorded: tracking off for the whole org, a Tracked object whose capture Flow is missing or cannot be read, a paused object or one waiting for Catch up, a failed backfill. On the Free plan, an object other than Case, Lead, and Opportunity shows "Plus plan needed" as information: it keeps its Intervals, and new changes are not recorded. If you cannot see Flows (you lack View Setup and Configuration and are not a Sojourn admin), an object captured by a Flow shows "Flow status hidden from you" as information: it does not change the overall status, and a Sojourn admin sees the real Flow status.
- Jobs shows whether Live values, Reconcile, and Summaries are scheduled, their last run, and the next one. A job that is off shows as a warning until a Sojourn admin schedules it on the Jobs screen in Sojourn Settings; on a new install, that includes Summaries. A job scheduled by a user who is no longer active shows as a failure; turning it off and on again on the Jobs screen, as an active Sojourn admin, fixes it. Live values with an entry missing (for example after someone deleted one in Setup) shows as a warning with the minutes it still runs at; choosing the interval again on the Jobs screen restores it. A last run in which chunks failed shows as a failure that says how many, here and on the job's card on the Jobs screen; Salesforce's reason is in Setup, under Apex Jobs. A scheduled job that has not run for longer than its schedule allows, plus the late hours set on the Health screen (2 by default), shows as a warning that says when it last ran: Live values counts its minutes between runs, and Reconcile and Summaries a day. A job you have just turned on again counts from then, not from its last run before. For a Sojourn admin, each of these carries its fix, Schedule it in Settings for a job that is off and Check the job in Settings for the others, and both open the Jobs screen.
- Errors counts the errors that need you, those in the last 24 hours, and those fixed in the last 24 hours, by type.
- Recent errors lists the latest, each with its fix.
Health thresholds#
A Sojourn admin sets what the banner counts on the Health screen: open Sojourn Settings, then Health under Operations. The Health Monitor applies the thresholds for everyone who opens it. Saving them needs the Customize Application permission, as the other org-wide settings do.
| Setting | What it does | Default | Range |
|---|---|---|---|
| Needs attention when open errors are more than | The banner reads Needs attention when more errors than this need you. | 0 | 0 to 10,000 |
| Something is wrong when open errors are more than | The banner reads Not working when more errors than this need you, and says how many against the number you set. | Blank, never | 1 to 10,000, or blank |
| A job is late after, hours | A scheduled job that has not run for this many hours past its schedule is a warning under Jobs. | 2 | 1 to 72 |
With the defaults the banner works as it always has: any open error needs attention, and open errors alone never make it Not working; only the failures under Capture and Jobs do. Errors within the first number still show in the Errors counts and the list; they only stop turning the banner amber.
Each box shows the saved number, or the default while none is saved. Clear a box to go back to its default (for the second one, never), then choose Save thresholds. A notice says "Health thresholds are saved." A number outside its range is refused with the range, for example "A job is late after (hours): enter a whole number from 1 to 72, or leave it blank for the default, 2.", and nothing is saved. Reset to defaults on the Advanced screen clears all three; see Tune the advanced settings. The Health screen is on the Free and the Plus plan.
Errors#
The Errors tab lists Error Log rows by status, type, object, and age. Select rows to Create intervals, Mark resolved, or Ignore them together. The list shows the newest 200 errors that match the filters; when more match, it says "Showing the newest 200 errors" and Select all takes only those 200. Resolve or ignore them, or narrow the filters, to reach older ones. Open a row to see what happened, why, how to fix it, and the technical details for support. When a job such as Backfill or Purge fails for a reason Sojourn did not describe itself, the message says so in a fixed sentence, and Salesforce's own words are in the technical details, which only Sojourn admins see: Sojourn Health Monitor has no access to the Error Log's Stack field, on this tab, on the record page, or in reports.
| Type | What happened | How to fix it |
|---|---|---|
| Limit | The save that changed the record was already close to a Salesforce governor limit, so Sojourn stepped aside to protect it. | Choose Create interval, or leave it: the nightly reconcile retries Limit and DML errors older than an hour, up to three times. If many come from one import, pause the object before the next import and catch up after it. |
| DML | Salesforce refused to save the Interval, often because of a validation rule, a required field, or another app's trigger. | Fix the cause the technical details name, then choose Create interval, or let reconcile retry it. |
| Config | A Tracked field names a field that was deleted or renamed, or that Sojourn can no longer read; or automation on an object changed a tracked field on every save, and Sojourn stopped following the saves three levels deep. | In Sojourn Settings, remove the field or choose its replacement, then mark the error resolved. For the save loop, find the Flow or trigger on the named object that changes the field each time it saves, and stop it repeating. |
| Business hours | No usable business hours applied, so calendar minutes were recorded as business minutes. | Choose default business hours in Sojourn Settings, or hours on the Tracked object, then mark the error resolved. |
| Unknown | Sojourn hit an error it did not expect. The user's save still went through. | Choose Create interval. If it happens again, send the technical details to CloudAlgo support. |
Create interval records the change at the time it happened and marks the error Resolved. It is refused when later changes to the same field were already recorded, because the change can no longer be placed; ignore the error, or run a History backfill to rebuild the record's history. It is also refused, with the reason, when the change left blank a field that starts timing at its first value, or when the value is already recorded: there is no Interval to create, so ignore the error. The nightly reconcile counts each refusal as a retry and adds its reason to the error's message, so such an error stops being retried after three tries instead of looping.
The same Create Interval action is on every Error Log record page.
You are done when
- The banner reads Healthy, or every item it lists has a fix under way.
- The Health screen shows the thresholds your team agreed, or the defaults.
- No error in the Errors tab reads Needs you without a reason you know.
Updated in release 1 This page changes in the same pull request as the feature it describes.