“Identify non-CZ e-book wo inventory, not used by Network” Job
IdentifiesThis andworkflow deletesruns abiweekly to identify the set of records created by a priorthe Alma NZ job (“Identify non-CZrecords e-bookthat wo inventory,are not used by Network) in the Network Zone- .NZ Book - Electronic records without inventory, non-CZ”, then emails the NZ Manager a review-and-approval link for potential deletion.
At a glance
-
Status: Active
-
Environment / Tags:
NoneNetworklistedZone;(not in workflow export)Live -
Applies consortium-wide?: Yes — operates on Alma Network Zone bibliographic records
-
Runs on: Alma Network Zone (NZ)
-
Trigger: Scheduled — runs monthly on the 3rd day at 8:30
PMAM -
Primary outcome:
AutomaticallyIdentifiesdeletesaNetworksetZoneof NZ non-CZ e-book bibliographic recordsfornon-CZ e-bookswith no NZ inventorythatandhaveemailsbeendetailsidentifiedforasreviewunusedandbypotentialthe Network.deletion. -
Who receives results: WRLC
EmailNZnotification sent toManagersaavedra@wrlc.org
Why this exists
Over time, the AlmaThe Network Zone can accumulate electronic bibliographic records forthat:
-
that areAre not
centrallylinkedmanagedto the Community Zone (non-CZ),have -
Represent e-book titles
-
Have no Network Zone inventory
,and -
noAre
longernot used byanymemberinstitution.institutions
These records may be candidates for cleanup.
This workflow automatesdoes not delete records automatically. Instead, it:
-
Detects the
cleanupsetof those recordscreated bysafelyareusingscheduledthe output of an existingAlma identification job,reducing -
Retrieves set details,
-
Notifies the NZ Manager,
-
Provides a link to a separate, approval-based deletion workflow.
This separation ensures deletion remains a deliberate, manual interventionaction.
What it does
-
Runs automatically once per month.
-
Looks
forbackrecent13successfuldays.runs -
Retrieves instances of a specific Alma identification job.
-
Checks for both successful and failed job
thatoutcomes.identifies -
non-CZFilters
e-bookforrecords.the correct job name. -
Locates the itemized bibliographic set created by that job.
-
SubmitsRetrievesanfullAlmasetjobdetailsto(ID,deletename,therecordbibliographiccount,recordscreatedin that set. Disables deletion of related or inventory-linked records to limit scope.date).-
Sends an email
notificationincluding:confirming-
Set Name
-
Record Count
-
Set ID
-
Creation date
-
Direct link to the
deletionDeletejobNZhasBibrun.Set approval form.
that -
-
Takes no deletion action unless manually approved.
Where it runs
-
Alma IZ(s):
-
Alma Network Zone
-
-
Systems touched:
-
Alma APIs
— used to retrieve(jobinstances, retrieve sets,instances andsubmitsetdeletion jobsretrieval) -
EmailGmail (Gmail)notification— used to notify staff that the deletion job has been submittedemail)
-
-
Reports / queries used: None
Credentials referenced:
-
NoneNZ(theProductionworkflow relies on– AlmajobAPIsoutput–andReadsets,¬WriteAnalytics) -
Gmail Credentials – Generic LibOW
How it works
Logic overview
Execution1. flow (plain language):
Scheduled
triggerTrigger-
The workflow startsRuns on the 3rd day of each month at 8:30PMAM. -
Calculates:
-
Date 13 days ago
-
Today’s date
-
-
DetermineThesedatedefinerangethe job instance search window.
2. Retrieve Identification Job Instances
The workflow retrieves instances of Alma job:
S31366564050004101Date range:
-
Calculates a date window covering roughly theprevious several days through today. -
Formats13datesdaysforagouse→in Alma API calls.today
-
-
RetrieveItjobchecksinstancesboth:-
-
Retrieves successful instances of the Alma job that identifies unused Network Zone e-book records.COMPLETED_SUCCESS -
Limits results to jobs completed within the date range.COMPLETED_FAILED
-
FilterThisforensures the workflow captures job runs regardless of outcome.⚠️ If the job ID changes, the workflow will no longer retrieve the correct
jobinstances.- Filter for Correct Job
KeepsA Filter node ensures onlyjob instancesjobs whose name contains:“Identify records that are not used in the Network
–- NZ Book–- Electronic records without inventory, non-CZ”CZ ”This prevents accidental processing of unrelated jobs.
⚠️ If the Alma job name wording changes, the filter may fail.
4. Retrieve the Set Created by the Job
The workflow:
-
-
Retrieves job instance details.
-
Searches for sets where:
-
name ~ job counter value
-
-
Retrieve job detailsAssumes:-
RetrievesSetfulltypedetails=for the selected job instance.ITEMIZED -
ExtractsContentthetypeidentifier=of the set created by that job.BIB_MMS
-
-
RetrieveItthethensetretrieves:-
-
FindsSettheIDitemized -
setSet
producednameby -
identificationnumber_of_membersjob. -
Creation date
bibliographicthe -
Submit⚠️deleteThis assumes the Alma job’s set naming convention includes the job counter value.5. Send Notification Email
An email is sent to the WRLC Consortial NZ Manager
The message includes:
-
-
RunsSetthe AlmaDelete Bibliographic Recordsjob on that set.Name -
ConfigurationRecordensures:Records with inventory arenothandled.Count-
RelatedCreationrecordsDateare -
Set ID
-
Direct link to the
notDelete NZ Bib Sethandled.workflow
JobThenameemailincludesclearly states:If no action is taken, no deletion will occur.
Deletion requires manual approval via the
setseparatename for traceability.workflow. -
-
Notify staffSends an email confirming that the delete job has been submitted and naming the set used.
3.
-
If results exist
-
TheAidentifiedqualifying set isretrieved successfully.identified. -
The delete bibliographic records jobEmail issubmittedsentagainstwiththatsetset.details and deletion approval link. -
ANoconfirmationrecordsemailareisdeletedsent to the configured recipient.automatically.
If no results
-
If no
qualifyingjobinstanceinstancesorexistsetinisthefound:date range:The workflow completes without submitting a delete job.-
No email is sent.
-
NoIfrecordsthearejobdeletedrunsunlessbuta validno set isretrieved.
Artifacts produced
Alma job submissioncreated:-
Job:NoDeletedeletionBibliographicnotificationRecordsis– via API Target: itemized set of unused non-CZ e-book recordstriggered.
-
-
EmailIfnotificationjob ID or naming conventions change:-
ConfirmsWorkflow may fail to identify thejobcorrecthas run and names the set usedset.
-
Artifacts produced
-
Email notification to NZ Manager.
-
No sets created by this workflow.
-
No deletion job submitted.
-
No files generated.
Relationship to other workflows
This workflow is part of a cleanup chain:
-
Alma scheduled job creates the identification set.
-
This workflow sends notification and approval link.
-
Delete NZ Bib Set workflow performs deletion after manual approval.
This ensures identification and deletion are separated by human review.