digraph "State Transitions" { graph ["rankdir"="TB","splines"="polyline"] node ["fontname"="arial"] edge ["class"="link-class"] "REQUEST_PLACED_AT_BORROWING_AGENCY" ["shape"="box","color"="black"] "CANCELLED" ["shape"="box","color"="black"] "PICKUP_TRANSIT" ["shape"="box","color"="black"] "RECEIVED_AT_PICKUP" ["shape"="box","color"="black"] "READY_FOR_PICKUP" ["shape"="box","color"="black"] "SUBMITTED_TO_DCB" ["shape"="box"] "PATRON_VERIFIED" ["shape"="box","color"="black"] "LOANED" ["shape"="box","color"="black"] "REQUEST_PLACED_AT_SUPPLYING_AGENCY" ["shape"="box","color"="black"] "CONFIRMED" ["shape"="box","color"="black"] "RESOLVED" ["shape"="box","color"="black"] "NOT_SUPPLIED_CURRENT_SUPPLIER" ["shape"="box","color"="black"] "NO_ITEMS_SELECTABLE_AT_ANY_AGENCY" ["shape"="box","color"="black"] "HANDED_OFF_AS_LOCAL" ["shape"="box","color"="black"] "RETURN_TRANSIT" ["shape"="box","color"="black"] "COMPLETED" ["shape"="box","color"="black"] "ERROR" ["shape"="box"] "FINALISED" ["shape"="oval","color"="red"] "REQUEST_PLACED_AT_BORROWING_AGENCY" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_BORROWING_AGENCY => COMPLETED (CleanupPatronRequestTransition)"] "REQUEST_PLACED_AT_BORROWING_AGENCY" -> "PICKUP_TRANSIT" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_BORROWING_AGENCY => PICKUP_TRANSIT (HandleSupplierInTransit)"] "REQUEST_PLACED_AT_BORROWING_AGENCY" -> "NOT_SUPPLIED_CURRENT_SUPPLIER" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_BORROWING_AGENCY => NOT_SUPPLIED_CURRENT_SUPPLIER (HandleSupplierRequestCancelled)"] "REQUEST_PLACED_AT_BORROWING_AGENCY" -> "RECEIVED_AT_PICKUP" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_BORROWING_AGENCY => RECEIVED_AT_PICKUP (HandleBorrowerItemReceived)"] "REQUEST_PLACED_AT_BORROWING_AGENCY" -> "CANCELLED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_BORROWING_AGENCY => CANCELLED (CancelledPatronRequestTransition)"] "CANCELLED" -> "FINALISED" ["color"="red","decorate"="true","weight"="5","label"="","tooltip"="CANCELLED => FINALISED (FinaliseRequestTransition)"] "PICKUP_TRANSIT" -> "READY_FOR_PICKUP" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="PICKUP_TRANSIT => READY_FOR_PICKUP (HandleBorrowerItemOnHoldShelf)"] "PICKUP_TRANSIT" -> "RETURN_TRANSIT" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="PICKUP_TRANSIT => RETURN_TRANSIT (HandleBorrowerSkippedLoanTransit)"] "PICKUP_TRANSIT" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="PICKUP_TRANSIT => COMPLETED (CleanupPatronRequestTransition)"] "PICKUP_TRANSIT" -> "RECEIVED_AT_PICKUP" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="PICKUP_TRANSIT => RECEIVED_AT_PICKUP (HandleBorrowerItemReceived)"] "PICKUP_TRANSIT" -> "CANCELLED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="PICKUP_TRANSIT => CANCELLED (CancelledPatronRequestTransition)"] "RECEIVED_AT_PICKUP" -> "READY_FOR_PICKUP" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="RECEIVED_AT_PICKUP => READY_FOR_PICKUP (HandleBorrowerItemOnHoldShelf)"] "RECEIVED_AT_PICKUP" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="RECEIVED_AT_PICKUP => COMPLETED (CleanupPatronRequestTransition)"] "RECEIVED_AT_PICKUP" -> "CANCELLED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="RECEIVED_AT_PICKUP => CANCELLED (CancelledPatronRequestTransition)"] "READY_FOR_PICKUP" -> "RETURN_TRANSIT" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="READY_FOR_PICKUP => RETURN_TRANSIT (HandleBorrowerSkippedLoanTransit)"] "READY_FOR_PICKUP" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="READY_FOR_PICKUP => COMPLETED (CleanupPatronRequestTransition)"] "READY_FOR_PICKUP" -> "LOANED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="READY_FOR_PICKUP => LOANED (HandleBorrowerItemLoaned)"] "READY_FOR_PICKUP" -> "CANCELLED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="READY_FOR_PICKUP => CANCELLED (CancelledPatronRequestTransition)"] "SUBMITTED_TO_DCB" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="SUBMITTED_TO_DCB => COMPLETED (CleanupPatronRequestTransition)"] "SUBMITTED_TO_DCB" -> "PATRON_VERIFIED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="SUBMITTED_TO_DCB => PATRON_VERIFIED (ValidatePatronTransition)"] "PATRON_VERIFIED" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="PATRON_VERIFIED => COMPLETED (CleanupPatronRequestTransition)"] "PATRON_VERIFIED" -> "RESOLVED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="PATRON_VERIFIED => RESOLVED (PatronRequestResolutionStateTransition)"] "LOANED" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="LOANED => COMPLETED (CleanupPatronRequestTransition)"] "LOANED" -> "RETURN_TRANSIT" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="LOANED => RETURN_TRANSIT (HandleBorrowerRequestReturnTransit)"] "REQUEST_PLACED_AT_SUPPLYING_AGENCY" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_SUPPLYING_AGENCY => COMPLETED (CleanupPatronRequestTransition)"] "REQUEST_PLACED_AT_SUPPLYING_AGENCY" -> "NOT_SUPPLIED_CURRENT_SUPPLIER" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_SUPPLYING_AGENCY => NOT_SUPPLIED_CURRENT_SUPPLIER (HandleSupplierRequestCancelled)"] "REQUEST_PLACED_AT_SUPPLYING_AGENCY" -> "CONFIRMED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="REQUEST_PLACED_AT_SUPPLYING_AGENCY => CONFIRMED (HandleSupplierRequestConfirmed)"] "CONFIRMED" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="CONFIRMED => COMPLETED (CleanupPatronRequestTransition)"] "CONFIRMED" -> "HANDED_OFF_AS_LOCAL" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="CONFIRMED => HANDED_OFF_AS_LOCAL (HandleHandOffAsLocalRequest)"] "CONFIRMED" -> "NOT_SUPPLIED_CURRENT_SUPPLIER" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="CONFIRMED => NOT_SUPPLIED_CURRENT_SUPPLIER (HandleSupplierRequestCancelled)"] "CONFIRMED" -> "REQUEST_PLACED_AT_BORROWING_AGENCY" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="CONFIRMED => REQUEST_PLACED_AT_BORROWING_AGENCY (PlacePatronRequestAtBorrowingAgencyStateTransition)"] "RESOLVED" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="RESOLVED => COMPLETED (CleanupPatronRequestTransition)"] "RESOLVED" -> "REQUEST_PLACED_AT_SUPPLYING_AGENCY" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="RESOLVED => REQUEST_PLACED_AT_SUPPLYING_AGENCY (PlacePatronRequestAtSupplyingAgencyStateTransition)"] "NOT_SUPPLIED_CURRENT_SUPPLIER" -> "NO_ITEMS_SELECTABLE_AT_ANY_AGENCY" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="NOT_SUPPLIED_CURRENT_SUPPLIER => NO_ITEMS_SELECTABLE_AT_ANY_AGENCY (ResolveNextSupplierTransition)"] "RETURN_TRANSIT" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="RETURN_TRANSIT => COMPLETED (CleanupPatronRequestTransition)"] "RETURN_TRANSIT" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="RETURN_TRANSIT => COMPLETED (HandleSupplierItemAvailable)"] "COMPLETED" -> "FINALISED" ["color"="red","decorate"="true","weight"="5","label"="","tooltip"="COMPLETED => FINALISED (FinaliseRequestTransition)"] "ERROR" -> "COMPLETED" ["color"="purple","decorate"="true","weight"="5","label"="","tooltip"="ERROR => COMPLETED (CleanupPatronRequestTransition)"] }