Subworkflow – Add WRLC Retention

This subworkflow applies a WRLC retention commitment to a specified item by setting the retention-related fields in Alma for a given barcode and institution.

At a glance


Why this exists

WRLC retention commitments are recorded at the item level in Alma using structured retention fields. When an item is designated for WRLC retention, those fields must be set consistently across institutions.

This subworkflow standardizes how retention commitments are applied, ensuring that parent workflows can add WRLC retention flags in a consistent and reusable way without duplicating logic.


What it does


Where it runs


How it works

Logic overview

1. Trigger (Subworkflow Execution)

If these fields are missing, the workflow may fail or route incorrectly.


2. Preserve Input

The “Stash barcode” code node:

This ensures the calling workflow can reference the original input values for error handling or reporting.


3. Route to Correct Institution

The Alma Network node:

⚠️ If _institutionCode is incorrect or missing, the API call may fail or affect the wrong IZ.


4. Retrieve Item


5. Apply WRLC Retention Fields

The “Add WRLC Retention Code” node updates:

⚠️ Important behaviors:

If Alma’s API structure changes, this node may fail.


6. Update Item


If results exist
If no results

Artifacts produced


Revision #2
Created 19 February 2026 20:22:50 by Jackie Saavedra
Updated 19 February 2026 20:31:52 by Jackie Saavedra