The audit did not run this morning
- Daily is off. A new audit’s schedule starts off, set to 06:00 in the tenant’s time zone. Open the gear (Audit settings) and turn Daily schedule on.
- Its automations were changed one by one. The audit owns its schedule. The automations behind its checks show Set by audit name under Schedule and follow the audit’s Daily schedule, time, and timezone. Change the schedule in Audit settings, not on an automation.
- It is not due yet. Before the audit’s scheduled time, the page shows yesterday’s morning, the last one that was due. Today’s shows once the scheduled time passes or a check runs today.
- The run is waiting. Audit runs wait in a queue when the instance is busy. Run health shows Queued, or Queued · retry, attempt N when a failed run is trying again. A queued run starts on its own. See the run queue.
A check did not run
Run health says how many checks ran and whether each system’s read was complete. A complete morning reads “Every configured check ran over complete reads.” Otherwise it names what is missing, for example “Not complete: the system read was partial; check code did not run.” In the statement’s detail, each check shows Ran, Partial, or Not run. On today’s report, choose Retry from last read on the check. It runs again from what that morning’s run already read, so no system is read again. Retry N not run retries every check that did not run. These retries are offered on today’s report only.
A check is Not run when one side of its run read no records, or kept none after its filters, while the other side kept some. Its reason says which, for example “The side side read no records.” or “The side side kept 0 of N records.” Nothing closes that morning, and Darpan is alerted. Check that side’s connection and filters, then play the audit again.
A check for one store often reads the other system for every store and keeps that store’s records with its filters. On a day the store sells nothing, that check runs with nothing to compare instead:
- One side read no records and the other kept none after its filters.
- A side kept none the morning after it kept some. On the second morning in a row it is Not run.
A check stopped running after an import
A check that an import or a restored config version took off its last statement no longer runs. Before this release it kept running every morning, recorded nothing, and logged “Audit check id tests no statement”. Now it is skipped, its automation runs any other checks it carries, and nothing is lost: it had no statement to report a finding to. If the unlink was on purpose, nothing needs doing. If it was not, link the check to a statement again with a config import, or restore the config version from before it. See A check on no statement.A statement says Not covered
No check tests the statement yet, so it cannot have findings. Run health lists these statements. In Audit settings, open the statement and choose Add check.A finding stays open after you fixed it
A fix counts when a check sees it, not when someone says so. Each morning run re-checks open findings by key, so a record fixed in its own system closes on the next run. To check one finding now, open it and choose Resolve finding. Darpan reads that record from each system by key.
There is no control that marks a finding fixed by hand. Resolve does not count as a check run, so Run health does not change.
When many findings were fixed after the morning check, choose Re-check all findings instead: beside the audit’s name for the whole period, or at the head of the Findings column for one statement. It reads each check’s open findings once, by key.
Re-check all findings is in the app only. From the CLI, re-check one finding at a time with
darpan findings recheck.
A finding you expected is not listed
- It is listed under an earlier statement. An order with findings under several statements counts once, under its earliest statement. Open that finding and look under Also on this order. The later statement’s counts say how many sit under an earlier step.
- The board is filtered. open lists only statements with open findings no one has acknowledged, acknowledged only those someone has, and not checked only statements whose checks did not run. Choose all to list every statement.
- Someone acknowledged it. An acknowledged finding leaves open and is listed under acknowledged, with who acknowledged it and the note. Choose Reopen on its card to put it back. See Acknowledge a finding.
- The statement is turned off. A statement turned off in Audit settings is left out of runs. Its earlier findings stay on record.
- The check has not run for that day. See A check did not run.
Two findings for what looks like one record
From 3.6.1, a finding’s record key is compared exactly: case and a trailing space count.SO1, so1 and SO1 are three different records, so they get three findings. Findings merged before 3.6.1 are not split back. If the keys are the same record in your systems, the difference comes from the source data: fix the key where it was typed. Typing an id in the order lookup still ignores case.
An acknowledged finding is back on open
- Its reminder day came. With Remind me in 5 days if still open on, a finding still open after that day is back under open, and its card says, for example, Acknowledged 5 days ago by Sam R., still open. Acknowledge it again to start a fresh reminder, or fix it.
- Another line of the order broke. An acknowledgement covers the lines that were open when it was made. A line of the same order that breaks later is a new problem, so the row is back under open.
- It was fixed and found again. An acknowledgement does not carry over a fix. A finding that closes and is found again on a later morning is plainly open.
An acknowledgement is refused
A cause is not listed under a statement
Audit settings list under a statement only the causes its checks can reach. When several statements’ checks share one run, a cause for missing records shows under the statement whose check looks for missing records, and a rule’s cause under the statement that checks field mismatches. To set a cause’s priority, open the statement that lists it. A priority saved earlier on a cause the statement cannot reach still shows there, so you can set it back to Same as.The update after a run did not arrive
- After each run is off. Open Audit settings, choose After each run, and turn it on. Only a Tenant Admin can change it; for everyone else it does not open.
- No chat message. The chat space must still exist, belong to this tenant, be active, and have a webhook or Slack channel. Otherwise the run sends no chat message, and Audit settings says why under the audit’s name: This chat space no longer exists, so no card is sent., This chat space is turned off, so no card is sent., or This chat space has no webhook or Slack channel, so no card is sent. Choose Posts to and pick a space again, or fix the space in Tenant Settings under Notifications.
- No email. The update goes to the people with access to the tenant, plus any address under Also send to. Email needs the Darpan instance to be able to send mail. If Forgot password? does not appear on the sign-in page, the instance cannot send email; ask a Darpan admin.