Subworkflow – Remove WRLC Retention

This subworkflow removes WRLC retention commitments from a specified item by clearing retention-related fields in Alma for a given barcode and institution.

At a glance


Why this exists

WRLC retention commitments are recorded on Alma items and, for bib records linked to the Network Zone, may also be recorded in a 583 field on the NZ bib. This subworkflow gives parent workflows a consistent way to remove those records when a commitment is withdrawn.


What it does


Where it runs


How it works

1. Input and routing

The “When Executed by Another Workflow” trigger passes through the input from the parent workflow. The expected fields are Barcode and Institution Code. Alma Network uses Institution Code to select the IZ, and “Retrieve Item by Barcode” looks up the item there. Missing or incorrect input may prevent the intended item from being updated.

2. Item update

“Remove WRLC Retention Code” changes these fields in the retrieved item JSON:

Item field Value written
item_data.committed_to_retain.value 'false'
item_data.committed_to_retain.desc No
item_data.retention_reason.value Empty string
item_data.retention_reason.desc Empty string

“Update Item Info” writes the modified item back to its Alma IZ. The code assumes committed_to_retain and retention_reason are present in the retrieved item structure.

3. NZ bib update

After the item update, “Retrieve Bib” gets the item’s IZ bib. The workflow proceeds to NZ 583 removal only when the bib’s linked record type is NZ and Institution Code is not 01WRLC_SCF.

On that path, the workflow looks up the institution in the WRLC Institution Information data table, retrieves the linked NZ bib, and uses “Remove 583 Field” to match a 583 field by its $x barcode. “Update Bib Record” writes the resulting bib back to Alma. If no 583 field matches the barcode, the removal step leaves the bib’s 583 fields unchanged.

The SCF exception assumes that the retention commitment is managed through the owning institution’s item and its NZ-linked bib.


If results exist
If no results exist

Artifacts produced


Revision #4
Created 19 February 2026 20:16:45 by Jackie Saavedra
Updated 22 September 2026 19:03:50 by Jackie Saavedra