Calculate availability status mainly using the process type#3178
Merged
christinach merged 1 commit intomainfrom Apr 9, 2026
Merged
Calculate availability status mainly using the process type#3178christinach merged 1 commit intomainfrom
christinach merged 1 commit intomainfrom
Conversation
8b299ac to
fe6e77a
Compare
a1f8a15 to
e196e1b
Compare
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 8, 2026
…ht expects from bibdata Bibdata update is in pulibrary/bibdata#3178 This was discussed in the circ meeting on April 8, 2026
e196e1b to
691c986
Compare
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 8, 2026
…ht expects from bibdata Bibdata update is in pulibrary/bibdata#3178 This was discussed in the circ meeting on April 8, 2026
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 8, 2026
…ht expects from bibdata (#5750) Bibdata update is in pulibrary/bibdata#3178 This was discussed in the circ meeting on April 8, 2026
a346fdb to
3673b4f
Compare
Check the process status type to calculate Unavailable status Check the process status when the value is in process and the work order type is AcqWorkOrder or Firastone when there is no process type check if it is requested or not: - If the process type is in ACQ CLAIM_RETURNED_LOAN HOLDSHELF ILL LOAN LOST_ILL LOST_LOAN LOST_LOAN_AND_PAID MISSING REQUESTED TECHNICAL TRANSIT TRANSIT_TO_REMOTE_STORAGE WORK_ORDER_DEPARTMENT it is Unavailable. - if it is In process we check the work order type-> is it 'AcqWorkOrder' || 'Firestone' - If not then Unavailable and Illiad will handle it. - if in process and in 'AcqWorkOrder', 'Firestone' work order type then it is an In process order - When there is no process type and the item is requested (requested: true) then it is Unavailable and Illiad will handle it. - When there is no process type and the item is in Place and it is not requested -> it is Available related to pulibrary/orangelight#5715 See https://pul-confluence.atlassian.net/wiki/spaces/ALMA/pages/1025114135/Availability @mzelesky Thank you for sharing your Alma knowledge and contributing to create this documentation https://docs.google.com/document/d/1VzbWI4mEy8M2WWIpGBfYv1UtcgqtI6fj8LoomRT17_4/edit?pli=1&tab=t.0 We've created a simpler approach to calculate the status in bibdata and clear some of this login in Orangelight.
3673b4f to
edaee43
Compare
This was referenced Apr 9, 2026
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 14, 2026
Make sure description and enum is not an empty string The specific issue appears for items in East Asian with bad data in Alma that fail the eligibility check for the Illiad service. The problem was only revealed now after the changes in pulibrary/bibdata#3178. For the East Asian items the enum and description values are empty strings, so the specific method returns that are present and not nil . The next Illiad eligibility check is the Preservation Conservation which does not exist anymore as a status label. So the Illiad service eligibility check fails. related to [#5755]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 14, 2026
Make sure description and enum is not an empty string The specific issue appears for items in East Asian with bad data in Alma that fail the eligibility check for the Illiad service. The problem was only revealed now after the changes in pulibrary/bibdata#3178. For the East Asian items the enum and description values are empty strings, so the specific method returns that are present and not nil . The next Illiad eligibility check is the Preservation Conservation which does not exist anymore as a status label. So the Illiad service eligibility check fails. related to [#5755]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 14, 2026
Make sure description and enum is not an empty string The specific issue appears for items in East Asian with bad data in Alma that fail the eligibility check for the Illiad service. The problem was only revealed now after the changes in pulibrary/bibdata#3178. For the East Asian items the enum and description values are empty strings, so the specific method returns that are present and not nil . The next Illiad eligibility check is the Preservation Conservation which does not exist anymore as a status label. So the Illiad service eligibility check fails. related to [#5755]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 14, 2026
Make sure description and enum is not an empty string The specific issue appears for items in East Asian with bad data in Alma that fail the eligibility check for the Illiad service. The problem was only revealed now after the changes in pulibrary/bibdata#3178. For the East Asian items the enum and description values are empty strings, so the specific method returns that are present and not nil . The next Illiad eligibility check is the Preservation Conservation which does not exist anymore as a status label. So the Illiad service eligibility check fails. related to [#5755]
kevinreiss
pushed a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 14, 2026
Make sure description and enum is not an empty string The specific issue appears for items in East Asian with bad data in Alma that fail the eligibility check for the Illiad service. The problem was only revealed now after the changes in pulibrary/bibdata#3178. For the East Asian items the enum and description values are empty strings, so the specific method returns that are present and not nil . The next Illiad eligibility check is the Preservation Conservation which does not exist anymore as a status label. So the Illiad service eligibility check fails. related to [#5755]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5373] related to [#4978]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5373] related to [#4978]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5373] related to [#4978]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5373] related to [#4978]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5373] related to [#4978]
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5373] related to [#4978]
6 tasks
christinach
added a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5753] related to [#4978]
kevinreiss
pushed a commit
to pulibrary/orangelight
that referenced
this pull request
Apr 15, 2026
With recent changes in bibdata and per circ meeting we send them to Illiad. pulibrary/bibdata#3178 related to [#5753] related to [#4978]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set process status type constant
Check the process status type to calculate Unavailable status
Check the process status when the value is in process and the work order type is AcqWorkOrder or Firastone
when there is no process type check if it is requested or not:
See confluence - Availability
@mzelesky Thank you for sharing your technical Alma knowledge and contributing
to create this documentation Calculate availability
We've created a simpler approach to calculate the status in bibdata.
related to pulibrary/orangelight#5715