Rebuild resolved activity lists
Recomputes the per-employee resolved activity list view.
How it works
Each employee sees a resolved list of activities they can register against — this list combines the employee’s personal activity list with the org-unit lists they inherit from. The resolved list is stored as a projection so the UI doesn’t have to re-compute it on every page load. This job rebuilds that projection for every employee in the workspace:
- Walks every employee in the workspace
- Resolves their effective activity list by combining personal and inherited org-unit lists
- Updates the projection row — only when the resolved list actually changed (so a re-run on a healthy workspace reports many entries with no changes)
When it runs
The job is operator-driven and lightly debounced — the live handlers also rebuild this projection when the relevant configuration changes. Run it manually when an employee reports a missing or unexpected activity in their picker.
Parameters
This job has no parameters.
Job results
| Metric | Description |
|---|---|
total | Number of employees evaluated |
changed | Number of resolved lists that actually changed during the rebuild |
errors | Failures during processing |
When to run
- An employee says an activity they should see is missing from their picker
- An org-unit activity list was changed and you want to confirm the change has propagated
- After moving an employee to a different org unit
Troubleshooting
| Issue | Solution |
|---|---|
| Activity still missing for one employee | Confirm the employee belongs to the right org unit and that the org-unit activity list contains the activity. Re-run, then refresh the browser |
| Many errors during the rebuild | Each per-employee error is logged with the cause. The most common one is a reference to a deleted activity list — clean up the reference, then re-run |