Ga naar hoofdinhoud

CnFlowStepOutcomes

Shows who a send step reached, and who it did not, by name.

A messaging step (send email, send notification, post to Talk) writes its outcome onto the run log as report.messaging. Each outcome is a bucket with a count and a short sample. This component lists every bucket that has someone in it.

<CnFlowStepOutcomes :report="step.report.messaging" />

CnFlowSidebar renders it under each step on a run's Logs tab, so you do not need to place it yourself to see it there.

What it shows​

BucketShown as
deliveredDelivered
optedOutOpted out
authorityUnavailableNot sent, the opt-out check did not answer
skippedByPreferenceSkipped by their notification settings
skippedByKillSwitchSkipped, sending is switched off
rateLimitedHeld back by the send limit
refusedRecipientsRefused by the step's address rule, each with its reason
unknownRecipientsNot a known user or group
failedFailed

Empty buckets are left out. A bucket the component does not know still shows, under its key made readable: heldForReview reads "Held for review". When the server cut a list short (truncated: true), a line says so.

The names are in the library's own translations (English and Dutch).

Props​

PropTypeDefaultDescription
reportObjectnullThe step's messaging report, report.messaging on its run-log entry. null renders nothing.
labelsObject{}Names to use instead of the built-in ones, keyed by bucket. Pass translated text.

Accessibility​

The lists are a definition list: each name is a dt, its count and sample the dd. The colour bar on each row only repeats what the name already says.