Campaign refresh

  • Follow suppression, eligibility recheck and injection through an overlapping partner file window.
Diagram phase
100%

Customer Power suppression, injection and retry paths

From the file window to a refreshed campaignRequest / responseDatabaseControl / stateMessagingPause egressResume egressDeliverSuppress affected campaignsSuppression replyUtilize/reverse: stage updatePublishWrite suppression auditConsumeCheck audit + current eligibilityInject eligible campaignsReport /webhookSolacesuppression queueLCM stageworkersSolaceinjection queueOffer stateand auditCustomer Powercampaign APIPause egressResume egressDeliverSuppress affectedcampaignsSuppression replyUtilize/reverse: stageupdatePublishWrite suppressionauditConsumeCheck audit + currenteligibilityInject eligiblecampaigns

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • CP means Customer Power. Suppression withdraws a campaign there. Injection publishes a campaign using the offers that still qualify when the injection consumer runs.
  • Queue egress controls delivery of waiting messages to workers. File processing can pause egress while eligible offer changes continue to accumulate.
  • The report/webhook controls suppression-queue delivery while CP processes a file. Changes can accumulate during the hold.
  • Direct suppression finishes with suppression and audit. The lower steps show the conditional refresh branch. A utilization/reversal staging failure interrupts this handoff.
  • The refresh producer schedules injection before its audit write. The effective commit and delivery order depends on DB/JMS enlistment.
Campaign refresh

Campaign refresh

Customer Power suppression, external updates and eligible injections

Current suppression and refresh

  • LCM owns loan offers. Customer Power (CP) displays campaigns. A PAN-scoped trigger can resolve to several customers and active offers.
  • Direct suppression can finish after CP suppression and its audit. A refresh adds injection work for applicable campaigns.
  • For utilization/reversal, LCM stages an external offer update after suppression. A staging failure interrupts the path before injection handoff.
  • The refresh producer publishes injection work before writing the suppression audit. The injection consumer reads that audit, re-inquires offers, checks per-record injection audit and calls CP for eligible records.

Where a refresh can stop halfway

Event Consequence Acceptance check
CP withdraws a banner and the worker dies before recording the result Delivery may return while the remote outcome is ambiguous Drop the reply after CP accepts a synthetic suppression
Injection is published while the suppression audit remains invisible A consumer can encounter a missing prerequisite if transactions permit that ordering Trace actual commit, acknowledgement and redelivery under the deployed resource adapter
Offer eligibility changes during CP processing A late request can restore an obsolete banner Deliver a version change while the earlier request remains in flight
  • The refresh producer can enqueue work before its audit commits. DB/JMS transaction enlistment determines when the consumer can see those changes.

Proposed authoritative handoff

  • Record confirmed suppression and its next required action in one local transaction. Direct suppression ends there. A refresh can record an injection intent, or a pending external-update step when utilization/reversal requires it.
  • A worker resuming a pending external update keeps the confirmed suppression. Commit the injection intent only after required staging succeeds. Verify the staging owner’s idempotency and transaction scope before automating this path.
  • First test the existing dispatcher and transaction boundary. Reuse an existing durable handoff if it survives a crash between stage completion and message delivery. Otherwise publish pending intents with a restartable dispatcher and deduplicate repeated consumption.
  • For each customer/product/campaign target, re-read eligibility at dispatch. Track source version and serialize conflicting effects at that business scope. A crash or an ambiguous remote call requires reconciliation before overlapping work proceeds.
  • Stage rollout by comparing proposed decisions with observed audit outcomes. Move one operation family to the new writer. Before reverting, drain or transfer pending intents and retain their identity mapping.
File windows and backlog

File windows and backlog

AutoSys file completion and Solace queue egress

Current pause and resume

  • Report generation checks suppression-queue egress and pauses it through SEMP. New changes can continue to queue. The operating mechanism leaves consumers in place.
  • AutoSys signals external file completion. The webhook checks the broker state, resumes egress when needed and records the transition.
  • A broker pause governs delivery from the named queue. Verify how already-dispatched requests, injection and retry consumers behave before declaring a quiet CP file window.

Two files complete out of order

  • If A and B can overlap, disable/enable prechecks alone cannot tell whether B still owns the hold when A completes. First establish whether the scheduling contract already enforces a single active window.
  • If overlap is possible, store distinct window identities under a queue-scoped owner. A repeated callback closes the same window once. Reconcile the latest desired state with actual broker state after a management timeout or controller restart.
  • Agree the business timezone, file generation and callback identity with the scheduler. Use a clock deadline to alert on a missing completion. Reopening egress needs evidence that the relevant file finished.
  • If CP also requires in-flight attempts to finish before file processing starts, coordinate admission across every applicable worker and acknowledge quiescence explicitly. Disabling egress alone cannot provide this handshake.
Illustrative overlapping file windowsjson
{
  "fixture": "Proposed queue-control acceptance scenario",
  "queueScope": "campaign-suppression",
  "initialOpenWindows": [],
  "events": [
    {"event": "reportReady", "window": "A", "openAfter": ["A"], "desiredEgress": "disabled"},
    {"event": "reportReady", "window": "B", "openAfter": ["A", "B"], "desiredEgress": "disabled"},
    {"event": "fileComplete", "window": "A", "openAfter": ["B"], "desiredEgress": "disabled"},
    {"event": "fileComplete", "window": "A", "openAfter": ["B"], "desiredEgress": "disabled"},
    {"event": "fileComplete", "window": "B", "openAfter": [], "desiredEgress": "enabled"}
  ],
  "acceptance": [
    "Persist window membership and desired egress under one queue-scoped serialization rule.",
    "Serialize management writes, then read the broker state back. Reconcile the latest desired state after a crash or uncertain reply.",
    "Hold an unmatched early completion for investigation. Dispatch to CP only when the applicable windows are closed and normal plus retry capacity permits."
  ]
}

Bound the release wave

  • Illustrative hold: 10 changes/s for 30 minutes adds 18,000 queued changes. At 25 completed changes/s and 10 new arrivals/s, clearing the extra backlog takes about 20 minutes. This assumes stable rates, no expiry and comparable work per change.
  • Budget CP attempts separately. A single change can fan out across customers or require both suppression and injection. Limit normal plus retry attempts together and track oldest pending age, headroom, expirations and unknown outcomes.
  • Exercise overlapping windows, repeated completions, delayed callbacks and an unavailable broker controller. Verify the old controller can take ownership without reopening a still-active window before rolling back.