Skip to main content

MGCWardenJournalGovCancelled

The two journal controls share this event, as they share MGCWardenJournalGovRejected, and ControlFamily says which arrived. What the cancellation leaves behind is OPPOSITE on the two, which is why the decision note is chosen by control family: 'JournalReversal': the cycle is CLOSED. ReversalState goes to Rejected, the reversing journal stays unpostable and is never re-raised, and the posted journal it targets stands. Undoing that journal takes a fresh reversing journal routed for approval. 'JournalReview': the review stays PENDING, the hold stands, the journal stays unpostable at its current size, and MGCWardenJournalRouteDrainBatch raises a fresh review, which announces itself as MGCWardenJournalGovApprovalRequested. BOTH RAISERS SEND IT, AND THAT IS THE DECISION, NOT AN EXTENSION OF IT. Sending this from the reversal handler alone would also have left one event class announcing one control's cancellations and silently not the other's, so a subscriber to it could not tell "no review was canceled" from "reviews are not announced". The review handler's old objection, that the rejection event was false because nobody refused and the review is not finished, does not apply to an event that says canceled and says the review will be re-raised. Shape, payload, correlation and switch: as MGCWardenDeltaCancelled, the reference copy. The governance reference is the source journal when there is one (MGCWardenApprovalEventContract:: newFromJournalGovState). Sent from MGCWardenJournalRevApprovalWFEventHandler::canceled and MGCWardenJournalReviewWFEventHandler::canceled through MGCWardenGovernanceEventSender::send (MGCWardenParameters.BusinessEventsEnabled), the switch both handlers' other events use.

  • Event id: MGCWardenJournalGovCancelled
  • Contract class: MGCWardenApprovalEventContract

Payload fields​

NameTypeDescription
ControlFamilystr
Decisionstr
DocumentKeyMGCWardenDocumentKey
DocumentTablestr
DocumentRecIdRefRecId
GovernanceRefstr
PolicyCodeMGCWardenPolicyCode
PolicyVersionint
CorrelationIdstr
DecisionNotestr
CompanyDataAreaId
ActorRefMGCWardenUserRef