-
Notifications
You must be signed in to change notification settings - Fork 237
Description
Does this bug already exist in our backlog?
- I have checked and confirm this is a new bug.
Describe the issue
We were wondering why many long-orphaned makers still had either no (null) or a very recent "Date Maker Marked Orphan" date.
We identified that the "HELPER - Make Check" flow updates the record of a Maker that is disabled. Depending on the EnvVar "Disabled Users are Orphaned", the maker is marked as either orphaned or not. But in any case, the "Date Maker Marked Oprhaned" is cleared (null).
Sure, the "CLEANUP - Admin | Sync Template v3 (Orphaned Makers)" flow (who actually calls this "HELPER - Maker Check" flow) sets a new date (today) afterwards:
But at that point we are losing information SINCE WHEN this maker has been identified as "orphaned".
Expected Behavior
The Makers table contains a "Date Maker Marked Oprhaned" field. This should represent the date SINCE WHEN the maker is orphaned.
It should not change as long as the user is still considered orphaned. Only when the user becomes un-orphaned (i.e. enabled again), the date should be removed. And only when the user becomes orphaned (again), a new date (today) should be set.
What I suggest here:
The "Update Maker" action in the "HELPER - Maker Check" flow should set the "Date Maker Marked Orphan" to null, IF the "isOrphaned" variable is false, else it should use the current value of the field. We could get that current value from the output of the "Find Maker" action.
What solution are you experiencing the issue with?
Core
What solution version are you using?
4.50.6
What app or flow are you having the issue with?
HELPER - Maker Check
What method are you using to get inventory and telemetry?
Cloud flows
Steps To Reproduce
Set EnvVar "Disabled Users are Orphaned" to true.
Run "HELPER - Maker Check" flow with objectId of a selected user (to ensure that the user is in the Maker table).
Disable user account in Entra ID.
Run "HELPER - Maker Check" flow with objectId of a selected user (to ensure that user gets marked as orphaned).
Verify the "Date Maker Marked Orphaned" (will be null).
Anything else?
No response