-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SWCR: SWCR.Status Field from SWCR #741
Comments
After a chat with Atle and Tord we looked into the possibility of calculating this status in FAM. This calculation requires PCS library but we think we have all the required fields already in FAM |
FYI. @atlewee @ken-mellem @Gustav-Eikaas FAM is currently holding internal discussions on whether or not they should do the calculations themselves, or have us do it. I've therefore decided to wait for their conclusion before trying to do the calculations myself. Stian Håland at FAM indicated that they would have a conclusion withing next week. |
FAM has concluded: they have labeled this field as a custom field and will not implement in FAM.
I agree with this conclusion. OptionsWe must discuss how to resolve this. Three options
I guess option 3 is not really an option as the field is being used. If we go for option 2, then this calculation is a good first candidate to move to the new self-service - both as an example of a POC but also to showcase its use-case and value. I do not know the complexity of the PCS calculation we would be replicating. But we must make sure to quality assure that we are able to calculate the same results. This is hardly ideal... PCS should be offered the option of commenting on this. |
Decision: for now, we create a new custom view - which will be moved to our self-service when that is ready. For now, it will reside in FAM. |
Current status
|
Status updateWe had a meeting with Atle and Tord, Gustav and Ben today. The status field is not the entire story. A given status for an SWCR is configurable for each facility in PCS; a status called "closed" may actually cover both "rejected" and "closed" in the classification of each SWCR, which turns out is the field we really want to show. There is currently no field in FAM which can store this mapping. Short term solution: we will revert to fetching SWCR sidesheet using fusion-data-proxy until we have resolved the issue. |
PR merged. QA verified. Rolled out into production. Verified. Old service message removed, new info one added saying the status is now correct |
Reduced urgency as we now have a temporary fix. Thanks @Gustav-Eikaas ! |
ProCoSys now has this on their list |
FYI @ken-mellem |
Summary
It was discovered by users of the SWCR sidesheet in Handover that the SWCR.Status field displayed incorrect data.
Feedback from FAM and Procosys verified that there is a mistake on their end:
"Status is a calculated field, based on several tables, it is not persisted. We do send the current status when sending the swcr, but perhaps that is a mistake.
This is a bug, and I'm not sure how to solve it, will have to work it out."
Decision
Create a new Custom_View in FAM for this specific calculation.
UAT
The text was updated successfully, but these errors were encountered: