Does needs_signoff only work when there is an existing supervisor-supervisee relationship?

hi @elijah

The way needs_signoff works is that the report emits upwards from the submitter, so that everyone above the submitter would get to see the report, regardless if they can see the report’s subject or not.
When emitting, we don’t have access to anything else except submitter lineage, unfortunately.

In your case, when the manager submits the needs_signoff report, the emissions are for: the manager himself, the manager’s parent and lineage AND the patient.
Supervisors don’t see the manager, or any of their lineage or the patient, so there is no way this report makes it to them. It should make it to the CHW, who sees the patient.

1 Like