Multi-Instance users without script task


Hi Guys,

We are using multi-instance by setting script before about the list of assignees we are going to use in user task, since this requires some kind of technical information about scripts to create this model.
We are looking for solution where we can have a drop down and select the users which should be part of multiInstance list and kind of more friendly to non-technical persons who are using this modeler.
Any suggestions, would be appreciated


One of the solutions I can think of is using embedded forms,
eg: create an angular form called users.html

<form name="form">
    <div class="form-group">
        <label for="user">User</label>
        <input class="form-control"
               name ="user" />

then, Save this form in the directory in which you have your .bpmn file, also embed this using embedded:deployment:users.html in form key section of camunda modeler, such that the xml looks like

<bpmn:userTask id="Task_0wutvsq" name="Assignment" camunda:formKey="embedded:deployment:users.html">

now in task set the assignee as #{user}