Subworkflow - Retrieve Patron Home Account from Linked Account

Looks up a patron's Home Institution account information (Primary ID and User Group) from the preferred email address in the patron's linked account.

At a glance


Why this exists

Many consortium workflows begin with information from a linked patron account rather than the patron's actual home institution account. Some Alma APIs require the Home Institution Primary ID in order to create fines, update user records, or perform other patron-related actions.

This subworkflow provides a reusable way to locate the patron's home account using their preferred email address, eliminating duplicate logic across multiple workflows and ensuring subsequent workflow steps operate on the correct user record.


What it does


Where it runs


How it works

Logic overview
  1. The subworkflow is called by another workflow.
  2. The Alma Network node switches context to the patron's Home Institution using the supplied institution code.
  3. The workflow searches for a user whose preferred email matches the supplied email address.
  4. Once a matching user is found, the workflow retrieves the complete user record.
  5. The Home Institution Primary ID and User Group are extracted.
  6. Those values are added to the original input before the data is returned to the parent workflow.
If results exist
If no results

Artifacts produced: None. This workflow does not generate reports, files, emails, or other output artifacts.


Revision #2
Created 8 July 2026 13:46:21 by Jackie Saavedra
Updated 8 July 2026 14:51:29 by Jackie Saavedra