Subworkflow - Look up Consortial Item by Barcode

Standard lookup subworkflow used to retrieve item and bibliographic information from the owning Alma Institution Zone. Reuse this workflow instead of duplicating Alma API calls across parent workflows.

At a glance


Why this exists

Many workflows need to retrieve information about a consortial item before taking further action. Rather than duplicating the same Alma API calls across multiple workflows, this subworkflow centralizes that process.

Given an item's barcode and owning institution code, it automatically connects to the correct Alma Institution Zone, retrieves the item record and associated bibliographic record, and returns a consistent set of fields for use by the calling workflow. Because the workflow always returns data—even when an item cannot be found—parent workflows can handle missing records consistently without needing additional error-handling logic.


What it does


Where it runs


How it works

Logic overview
  1. The workflow is called by another workflow.
  2. The calling workflow supplies:
    • the item's barcode
    • the owning institution code.
  3. The workflow switches context to the appropriate Alma Institution Zone.
  4. It looks up the physical item by barcode.
  5. If an item is found, it retrieves the associated bibliographic record using the item's MMS ID.
  6. Selected item and bibliographic fields are added to the original input.
  7. The enriched record is returned to the parent workflow.
If results exist

The workflow returns the original input together with:

These values replace any existing values with the same field names while preserving all other incoming data.

If no results

The Retrieve Item by Barcode and Retrieve Bib nodes are configured to Always Output Data, so the workflow continues running even if one or both Alma API calls do not return a record. In this case, the returned fields (such as mms_id, network_id, or retention information) will typically be blank, while the original input fields are still passed back to the calling workflow. This allows the parent workflow to determine how to handle missing items without the subworkflow failing.

Artifacts produced: None. This workflow returns data only; it does not generate reports, files, or emails.


Revision #2
Created 8 July 2026 13:58:07 by Jackie Saavedra
Updated 8 July 2026 14:48:33 by Jackie Saavedra