Extend HandleBorrowerSkippedLoanTransit for 3-legged transactions

Description

To properly support 3-legged transactions, the HandleBorrowerSkippedLoanTransit transition needs to be updated with a conditional check in the isApplicableFor method.

New Condition to Add:

The transition should be triggered when all of the following conditions are met:

  1. The active workflow is RET-PUA.

  2. The possible source status is either PICKUP_TRANSIT or READY_FOR_PICKUP.

  3. The pickup item status is one of the following:

    • ITEM_TRANSIT

    • ITEM_MISSING

    • ITEM_AVAILABLE

  4. The pickup request status is HOLD_MISSING.

When these conditions are met, the HandleBorrowerSkippedLoanTransit transition should be triggered to update the patron request status to RETURN_TRANSIT.

discovered by

Activity

Show:

Details

Assignee

Reporter

Priority

Created March 17, 2025 at 2:17 PM
Updated March 17, 2025 at 2:33 PM