bcgov / performance

Performance
Apache License 2.0
0 stars 2 forks source link

Reporting relationships do not appear correctly in individual users' profiles #1334

Open jessicahjwu opened 3 months ago

jessicahjwu commented 3 months ago

Supervisor Sarah Watson has 8 direct reports when checking in "Employee List" or "My Organization", with the employee name "Lauren Coulter" on the list:

image.png

When Sarah checks on her "My Team" page, Lauren's name doesn't appear on the list of direct reports:

image.png

When Lauren logs in to her profile, the dashboard supervisor shows "vacant":

image.png

Please check and see why they are unable to see each other's name when logs into their own profiels.

jessicahjwu commented 3 months ago

Issue could be related to #1329, need to retest and see if this can be resolved by implementing the changes in Test/ Training.

jessicahjwu commented 3 months ago

Check in Prod if this is still an issue.

jessicahjwu commented 3 months ago

Issue still exists, please work on a resolution in this sprint. Sarah is able to see Lauren's name in the conversation participant dropdown list, however, Lauren doesn't appear on the list of direct report for Sarah. Hence Sarah's name doesn't appear in Lauren's dashboard.

telusdcinco commented 3 months ago

MIGRATION NOTES:

Code change only.

Requires running of SyncUserProfile process for change to take effect.

telusdcinco commented 3 months ago

Root Cause: The preferred job selected by user (or defaulted upon user profile creation) gets out of sync with the current active job in employee demographics.

Two options presented to solve these issues: 1) Allow users to see the Preferred Job selection on the top-right of the dashboard for employees with more than one job record. This will allow the user to select a valid job whenever moves to a different job. 2) Update the SyncUserProfile process to update invalid preferred job in the user profile. The process will assign the lowest active job # from the employee demo table, if the current user profile preferred job value is no longer valid.

telusdcinco commented 3 months ago

Deployed to Test. SyncUserProfile successfully completed in Test. Employee shows in My Team list.

image.png
steffipravasi commented 2 months ago

Issue has been addressed & validated for the given test case. Ticket #1348 has a similar issue and can be verified in the same and moved along separate.

Screenshot 2024-08-09 at 2.59.57 PM.png Screenshot 2024-08-09 at 3.01.27 PM.png Screenshot 2024-08-09 at 3.02.16 PM.png