Restriction on Username data element user selection

Hi @ramavat

Okay, thanks! I understand what you mean. There seems to be a challenge here with what’s technically currently possible and whether we’ll need to create a feature request or think of a workaround/best practices. We’ll need to experiment and see what works best!

In terms of functionality, are these Health Consultants going to need to interact with these events? In other words, is it added to the event because they are expected to follow-up or any kind of interaction because in that case maybe ‘assign’ events to user is more helpful?

However, in terms of restriction, unlike the organization unit data element, it doesn’t seem that we can currently restrict the list of usernames in the username data element. Your use case seems to have similar aspects to the (CHWs use cases, ) so maybe considering creation of OU for each Health Consultant? If you do so you will be able to select the Health Consultant as well as restrict the values to be only the OUs assigned to the 'case worker.

I hope this helps, and sorry if I missed anything here. Further discussion and input about the use case is welcome so we know what next steps to take.

Thanks!