Skip to main content

State machines

Each aggregate that changes status through commands has a state machine contract. This page lists, for every contract, the states, the initial and terminal states and the allowed transitions with the role that may run the command and the approval policy. It is generated from the contract files, so it changes only when they change.

Every combination of state and command that is not an allowed transition is declared as forbidden in the contract. Only the number of forbidden combinations is shown here. For the Tender workflow in practice, see Tender states and commands.

How to read the tables: Evidence says whether the contract requires evidence for the transition. Capability says whether a validated capability admission is required. Approval and Proof show the approval policy and the proof type; none means the transition needs no approval.

Overview​

AggregateContractStatesAllowed transitionsForbidden combinations
Adjustmentadjustment_v1448
Advice Caseadvice_case_v15614
Capability Admissioncapability_admission_v15416
Claimclaim_v15520
Commission Statementcommission_statement_v16723
Complaintcomplaint_v16624
Document Ingestiondocument_ingestion_v16525
Foundation Casefoundation_case_v15416
Import Batchimport_batch_v17636
Mandatemandate_v15416
Mutationmutation_v1439
Placement Caseplacement_case_v16624
Policypolicy_v16729
Population Reconciliationpopulation_reconciliation_v16723
Portfolio Transferportfolio_transfer_v17834
Posting Planposting_plan_v15515
Privacy Requestprivacy_request_v16525
Quotequote_v15416
Reconciliationreconciliation_v15614
Reinstatementreinstatement_v15416
Renewalrenewal_v16723
Retention Dispositionretention_disposition_v16525
Tendertender_v1112288

Adjustment​

Contract adjustment_v1, contract version 1.0.0. Initial state: proposed. Terminal states: applied, cancelled.

States: proposed, approved, applied, cancelled.

Commands: approve, apply, cancel.

FromCommandToRoleEvidenceCapabilityApprovalProof
proposedapproveapprovedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1
proposedcancelcancelledInsurance Broker Operationsyesnononenone
approvedapplyappliedInsurance Broker Operationsyesyesnonenone
approvedcancelcancelledInsurance Broker Approveryesnononenone

Forbidden combinations of state and command: 8. Running one of them is rejected.

Advice Case​

Contract advice_case_v1, contract version 1.0.0. Initial state: draft. Terminal states: completed, cancelled.

States: draft, assessment, recommendation, completed, cancelled.

Commands: start_assessment, recommend, complete, cancel.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftstart_assessmentassessmentInsurance Broker Advisoryesyesnonenone
draftcancelcancelledInsurance Broker Advisornonononenone
assessmentrecommendrecommendationInsurance Broker Advisoryesyesnonenone
assessmentcancelcancelledInsurance Broker Advisoryesnononenone
recommendationcompletecompletedInsurance Broker Advisoryesyesmaker_checkercore_local_approval_proof_v1
recommendationcancelcancelledInsurance Broker Advisoryesnononenone

Forbidden combinations of state and command: 14. Running one of them is rejected.

Capability Admission​

Contract capability_admission_v1, contract version 1.0.0. Initial state: draft. Terminal states: blocked, revoked.

States: draft, review, validated, blocked, revoked.

Commands: request_review, validate, block, revoke.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftrequest_reviewreviewInsurance Broker Complianceyesnononenone
reviewvalidatevalidatedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1
reviewblockblockedInsurance Broker Approveryesnononenone
validatedrevokerevokedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1

Forbidden combinations of state and command: 16. Running one of them is rejected.

Claim​

Contract claim_v1, contract version 1.0.0. Initial state: reported. Terminal states: cancelled.

States: reported, assisting, awaiting_carrier, closed, cancelled.

Commands: start_assistance, await_carrier, close, reopen, cancel.

FromCommandToRoleEvidenceCapabilityApprovalProof
reportedstart_assistanceassistingInsurance Broker Sensitive Claimsyesnononenone
reportedcancelcancelledInsurance Broker Sensitive Claimsyesnononenone
assistingawait_carrierawaiting_carrierInsurance Broker Sensitive Claimsyesnononenone
awaiting_carriercloseclosedInsurance Broker Sensitive Claimsyesnononenone
closedreopenassistingInsurance Broker Sensitive Claimsyesnononenone

Forbidden combinations of state and command: 20. Running one of them is rejected.

Commission Statement​

Contract commission_statement_v1, contract version 1.0.0. Initial state: imported. Terminal states: posted, rejected.

States: imported, validated, reconciled, approved, posted, rejected.

Commands: validate, reconcile, approve, post, reject.

FromCommandToRoleEvidenceCapabilityApprovalProof
importedvalidatevalidatedInsurance Broker Reconcileryesnononenone
importedrejectrejectedInsurance Broker Reconcileryesnononenone
validatedreconcilereconciledInsurance Broker Reconcileryesnononenone
validatedrejectrejectedInsurance Broker Reconcileryesnononenone
reconciledapproveapprovedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1
reconciledrejectrejectedInsurance Broker Approveryesnononenone
approvedpostpostedInsurance Broker Approveryesyesbound_context_hashcore_local_approval_proof_v1

Forbidden combinations of state and command: 23. Running one of them is rejected.

Complaint​

Contract complaint_v1, contract version 1.0.0. Initial state: received. Terminal states: none.

States: received, investigating, response_due, resolved, closed, reopened.

Commands: investigate, prepare_response, resolve, close, reopen.

FromCommandToRoleEvidenceCapabilityApprovalProof
receivedinvestigateinvestigatingInsurance Broker Complianceyesnononenone
investigatingprepare_responseresponse_dueInsurance Broker Complianceyesnononenone
response_dueresolveresolvedInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1
resolvedcloseclosedInsurance Broker Complianceyesnononenone
closedreopenreopenedInsurance Broker Complianceyesnononenone
reopenedinvestigateinvestigatingInsurance Broker Complianceyesnononenone

Forbidden combinations of state and command: 24. Running one of them is rejected.

Document Ingestion​

Contract document_ingestion_v1, contract version 1.0.0. Initial state: received. Terminal states: quarantined, accepted, rejected.

States: received, scanned, quarantined, extraction_proposed, accepted, rejected.

Commands: scan_clean, quarantine, propose_extraction, accept, reject.

FromCommandToRoleEvidenceCapabilityApprovalProof
receivedscan_cleanscannedInsurance Broker Operationsnonononenone
receivedquarantinequarantinedInsurance Broker Operationsnonononenone
scannedpropose_extractionextraction_proposedInsurance Broker Operationsyesnononenone
extraction_proposedacceptacceptedInsurance Broker Operationsyesnomaker_checkercore_local_approval_proof_v1
extraction_proposedrejectrejectedInsurance Broker Operationsyesnononenone

Forbidden combinations of state and command: 25. Running one of them is rejected.

Foundation Case​

Contract foundation_case_v1, contract version 1.0.0. Initial state: draft. Terminal states: revoked.

States: draft, review, approved, active, revoked.

Commands: request_review, approve, activate, revoke.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftrequest_reviewreviewInsurance Broker Operationsnonononenone
reviewapproveapprovedInsurance Broker Complianceyesyesmaker_checkercore_local_approval_proof_v1
approvedactivateactiveInsurance Broker Administratoryesyesbound_context_hashcore_local_approval_proof_v1
activerevokerevokedInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1

Forbidden combinations of state and command: 16. Running one of them is rejected.

Import Batch​

Contract import_batch_v1, contract version 1.0.0. Initial state: staged. Terminal states: quarantined, completed, failed.

States: staged, validating, admitted, quarantined, processing, completed, failed.

Commands: validate, admit, quarantine, process, complete, fail.

FromCommandToRoleEvidenceCapabilityApprovalProof
stagedvalidatevalidatingInsurance Broker Operationsyesnononenone
validatingadmitadmittedInsurance Broker Complianceyesnononenone
validatingquarantinequarantinedInsurance Broker Complianceyesnononenone
admittedprocessprocessingInsurance Broker Operationsyesyesnonenone
processingcompletecompletedInsurance Broker Operationsyesnononenone
processingfailfailedInsurance Broker Operationsyesnononenone

Forbidden combinations of state and command: 36. Running one of them is rejected.

Mandate​

Contract mandate_v1, contract version 1.0.0. Initial state: draft. Terminal states: revoked, terminated.

States: draft, signature_pending, active, revoked, terminated.

Commands: request_signature, activate, revoke, terminate.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftrequest_signaturesignature_pendingInsurance Broker Operationsyesnononenone
signature_pendingactivateactiveInsurance Broker Complianceyesyesmaker_checkercore_local_approval_proof_v1
activerevokerevokedInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1
activeterminateterminatedInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1

Forbidden combinations of state and command: 16. Running one of them is rejected.

Mutation​

Contract mutation_v1, contract version 1.0.0. Initial state: proposed. Terminal states: applied, rejected.

States: proposed, review, applied, rejected.

Commands: submit_review, approve_apply, reject.

FromCommandToRoleEvidenceCapabilityApprovalProof
proposedsubmit_reviewreviewInsurance Broker Operationsyesnononenone
reviewapprove_applyappliedInsurance Broker Approveryesyesbound_context_hashcore_local_approval_proof_v1
reviewrejectrejectedInsurance Broker Approveryesnononenone

Forbidden combinations of state and command: 9. Running one of them is rejected.

Placement Case​

Contract placement_case_v1, contract version 1.0.0. Initial state: draft. Terminal states: declined, closed.

States: draft, submitted, quoted, bound, declined, closed.

Commands: submit, record_quote, bind, decline, close.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftsubmitsubmittedInsurance Broker Advisoryesyesnonenone
submittedrecord_quotequotedInsurance Broker Advisoryesyesnonenone
submitteddeclinedeclinedInsurance Broker Advisoryesnononenone
quotedbindboundInsurance Broker Approveryesyesbound_context_hashcore_local_approval_proof_v1
quoteddeclinedeclinedInsurance Broker Advisoryesnononenone
boundcloseclosedInsurance Broker Operationsyesnononenone

Forbidden combinations of state and command: 24. Running one of them is rejected.

Policy​

Contract policy_v1, contract version 1.0.0. Initial state: draft. Terminal states: cancelled, expired, void_ab_initio.

States: draft, active, suspended, cancelled, expired, void_ab_initio.

Commands: activate, suspend, reinstate, cancel, expire, void.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftactivateactiveInsurance Broker Operationsyesyesmaker_checkercore_local_approval_proof_v1
draftvoidvoid_ab_initioInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1
activesuspendsuspendedInsurance Broker Operationsyesnononenone
activecancelcancelledInsurance Broker Operationsyesnomaker_checkercore_local_approval_proof_v1
activeexpireexpiredInsurance Broker Operationsnonononenone
activevoidvoid_ab_initioInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1
suspendedreinstateactiveInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1

Forbidden combinations of state and command: 29. Running one of them is rejected.

Population Reconciliation​

Contract population_reconciliation_v1, contract version 1.0.0. Initial state: draft. Terminal states: approved, rejected.

States: draft, comparing, matched, exception, approved, rejected.

Commands: compare, match, raise_exception, approve, reject.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftcomparecomparingInsurance Broker Operationsyesnononenone
comparingmatchmatchedInsurance Broker Operationsyesnononenone
comparingraise_exceptionexceptionInsurance Broker Operationsyesnononenone
matchedapproveapprovedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1
matchedrejectrejectedInsurance Broker Approveryesnononenone
exceptionmatchmatchedInsurance Broker Operationsyesnononenone
exceptionrejectrejectedInsurance Broker Approveryesnononenone

Forbidden combinations of state and command: 23. Running one of them is rejected.

Portfolio Transfer​

Contract portfolio_transfer_v1, contract version 1.0.0. Initial state: initiated. Terminal states: completed, partial, failed, cancelled.

States: initiated, carrier_pending, reconciling, completed, partial, failed, cancelled.

Commands: submit_carrier, confirm_carrier, complete, mark_partial, fail, cancel.

FromCommandToRoleEvidenceCapabilityApprovalProof
initiatedsubmit_carriercarrier_pendingInsurance Broker Operationsyesnononenone
initiatedcancelcancelledInsurance Broker Operationsyesnononenone
carrier_pendingconfirm_carrierreconcilingInsurance Broker Operationsyesnononenone
carrier_pendingfailfailedInsurance Broker Operationsyesnononenone
carrier_pendingcancelcancelledInsurance Broker Operationsyesnononenone
reconcilingcompletecompletedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1
reconcilingmark_partialpartialInsurance Broker Operationsyesnononenone
reconcilingfailfailedInsurance Broker Operationsyesnononenone

Forbidden combinations of state and command: 34. Running one of them is rejected.

Posting Plan​

Contract posting_plan_v1, contract version 1.0.0. Initial state: draft. Terminal states: executed, revoked.

States: draft, approval_pending, approved, executed, revoked.

Commands: request_approval, approve, execute, revoke.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftrequest_approvalapproval_pendingInsurance Broker Reconcileryesnononenone
approval_pendingapproveapprovedInsurance Broker Approveryesnobound_context_hashcore_local_approval_proof_v1
approval_pendingrevokerevokedInsurance Broker Approveryesnononenone
approvedexecuteexecutedInsurance Broker Approveryesyesbound_context_hashcore_local_approval_proof_v1
approvedrevokerevokedInsurance Broker Approveryesnononenone

Forbidden combinations of state and command: 15. Running one of them is rejected.

Privacy Request​

Contract privacy_request_v1, contract version 1.0.0. Initial state: received. Terminal states: fulfilled, partially_fulfilled, rejected.

States: received, identity_pending, in_review, fulfilled, partially_fulfilled, rejected.

Commands: request_identity, verify_identity, fulfill, partial, reject.

FromCommandToRoleEvidenceCapabilityApprovalProof
receivedrequest_identityidentity_pendingInsurance Broker Compliancenonononenone
identity_pendingverify_identityin_reviewInsurance Broker Complianceyesnononenone
in_reviewfulfillfulfilledInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1
in_reviewpartialpartially_fulfilledInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1
in_reviewrejectrejectedInsurance Broker Complianceyesnomaker_checkercore_local_approval_proof_v1

Forbidden combinations of state and command: 25. Running one of them is rejected.

Quote​

Contract quote_v1, contract version 1.0.0. Initial state: draft. Terminal states: accepted, withdrawn, expired.

States: draft, issued, accepted, withdrawn, expired.

Commands: issue, accept, withdraw, expire.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftissueissuedInsurance Broker Advisoryesyesnonenone
issuedacceptacceptedInsurance Broker Advisoryesyesmaker_checkercore_local_approval_proof_v1
issuedwithdrawwithdrawnInsurance Broker Advisoryesnononenone
issuedexpireexpiredInsurance Broker Operationsnonononenone

Forbidden combinations of state and command: 16. Running one of them is rejected.

Reconciliation​

Contract reconciliation_v1, contract version 1.0.0. Initial state: draft. Terminal states: approved, rejected.

States: draft, matched, exception, approved, rejected.

Commands: match, raise_exception, approve, reject.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftmatchmatchedInsurance Broker Reconcileryesnononenone
draftraise_exceptionexceptionInsurance Broker Reconcileryesnononenone
matchedapproveapprovedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1
matchedrejectrejectedInsurance Broker Approveryesnononenone
exceptionmatchmatchedInsurance Broker Reconcileryesnononenone
exceptionrejectrejectedInsurance Broker Approveryesnononenone

Forbidden combinations of state and command: 14. Running one of them is rejected.

Reinstatement​

Contract reinstatement_v1, contract version 1.0.0. Initial state: requested. Terminal states: declined, applied.

States: requested, carrier_pending, approved, declined, applied.

Commands: submit_to_carrier, record_approval, record_decline, apply.

FromCommandToRoleEvidenceCapabilityApprovalProof
requestedsubmit_to_carriercarrier_pendingInsurance Broker Operationsyesnononenone
carrier_pendingrecord_approvalapprovedInsurance Broker Operationsyesnononenone
carrier_pendingrecord_declinedeclinedInsurance Broker Operationsyesnononenone
approvedapplyappliedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1

Forbidden combinations of state and command: 16. Running one of them is rejected.

Renewal​

Contract renewal_v1, contract version 1.0.0. Initial state: opened. Terminal states: accepted, declined, expired.

States: opened, review, offered, accepted, declined, expired.

Commands: start_review, record_offer, accept, decline, expire.

FromCommandToRoleEvidenceCapabilityApprovalProof
openedstart_reviewreviewInsurance Broker Advisoryesyesnonenone
openedexpireexpiredInsurance Broker Operationsnonononenone
reviewrecord_offerofferedInsurance Broker Advisoryesyesnonenone
reviewexpireexpiredInsurance Broker Operationsnonononenone
offeredacceptacceptedInsurance Broker Advisoryesyesmaker_checkercore_local_approval_proof_v1
offereddeclinedeclinedInsurance Broker Advisoryesnononenone
offeredexpireexpiredInsurance Broker Operationsnonononenone

Forbidden combinations of state and command: 23. Running one of them is rejected.

Retention Disposition​

Contract retention_disposition_v1, contract version 1.0.0. Initial state: proposed. Terminal states: executed, rejected, cancelled.

States: proposed, review, approved, executed, rejected, cancelled.

Commands: request_review, approve, execute, reject, cancel.

FromCommandToRoleEvidenceCapabilityApprovalProof
proposedrequest_reviewreviewInsurance Broker Complianceyesnononenone
proposedcancelcancelledInsurance Broker Complianceyesnononenone
reviewapproveapprovedInsurance Broker Approveryesnomaker_checkercore_local_approval_proof_v1
reviewrejectrejectedInsurance Broker Approveryesnononenone
approvedexecuteexecutedInsurance Broker Complianceyesnobound_context_hashcore_local_approval_proof_v1

Forbidden combinations of state and command: 25. Running one of them is rejected.

Tender​

Contract tender_v1, contract version 1.0.0. Initial state: draft. Terminal states: closed, cancelled, no_result, legal_review_required.

States: draft, preparing, invitations_sent, responses_open, comparison, recommended, decided, closed, cancelled, no_result, legal_review_required.

Commands: prepare, send_invitations, open_responses, start_comparison, recommend, decide, close, cancel, mark_no_result, require_legal_review.

FromCommandToRoleEvidenceCapabilityApprovalProof
draftpreparepreparingInsurance Broker Advisoryesyesnonenone
draftcancelcancelledInsurance Broker Advisoryesnononenone
draftrequire_legal_reviewlegal_review_requiredInsurance Broker Complianceyesnononenone
preparingsend_invitationsinvitations_sentInsurance Broker Advisoryesyesnonenone
preparingcancelcancelledInsurance Broker Advisoryesnononenone
preparingrequire_legal_reviewlegal_review_requiredInsurance Broker Complianceyesnononenone
invitations_sentopen_responsesresponses_openInsurance Broker Advisoryesyesnonenone
invitations_sentcancelcancelledInsurance Broker Advisoryesnononenone
invitations_sentmark_no_resultno_resultInsurance Broker Advisoryesnononenone
invitations_sentrequire_legal_reviewlegal_review_requiredInsurance Broker Complianceyesnononenone
responses_openstart_comparisoncomparisonInsurance Broker Advisoryesyesnonenone
responses_opencancelcancelledInsurance Broker Advisoryesnononenone
responses_openmark_no_resultno_resultInsurance Broker Advisoryesnononenone
responses_openrequire_legal_reviewlegal_review_requiredInsurance Broker Complianceyesnononenone
comparisonrecommendrecommendedInsurance Broker Advisoryesyesmaker_checkercore_local_approval_proof_v1
comparisoncancelcancelledInsurance Broker Advisoryesnononenone
comparisonmark_no_resultno_resultInsurance Broker Advisoryesnononenone
comparisonrequire_legal_reviewlegal_review_requiredInsurance Broker Complianceyesnononenone
recommendeddecidedecidedInsurance Broker Advisoryesyesmaker_checkercore_local_approval_proof_v1
recommendedcancelcancelledInsurance Broker Advisoryesnononenone
recommendedrequire_legal_reviewlegal_review_requiredInsurance Broker Complianceyesnononenone
decidedcloseclosedInsurance Broker Operationsyesnononenone

Forbidden combinations of state and command: 88. Running one of them is rejected.