Drop down for assignee of task

Hello guys
I am using bpmn.js for my modeler and bpmn-properties-panel for attributes of tasks , like forms , fields ,messages , etc .
when I set my task as User Task , I can select assignee in a text box . as an obvious and essential requirement , I need to have a drop-down which it’s data is fetched from back-end . things like users , groups , etc .
although it has been asked in bpmn forum and answered in here I could not find anything useful there .
we could make some workaround about changing bpmn file later (but it accompanied with significant different costs) But I want to know what is offered by Camunda guys and users .

how to have drop-down of users in assignee ? how did you handle it ?

This sounds like mixing runtime information (the actual users) with model creation. I’m fairly sure that we have not done any work here as it sort of breaks the distinction between model and runtime.

Might be a thing you could write a plugin for to go into the Camunda Modeler?

dg

dear @davidgs , I’m looking for a better approach and since I’m pretty fresh about process world , I would be grateful if you share with me better approaches .
what is the best practice about task assignment .
I should know at least what groups exist if I want to determine who to do it , if not what is your suggested approach ?