It is possible to fill a select field, also called dropdown, with users of a group as options.
<select name="Name_des_Feldes" id="ID_des_Feldes" initMethod="selectUsersByGroupByClass" class="pm"></select>
This HTML snippet has to be inserted into the smartform. The name and ID can be chosen freely. As the initMethod the webservice selectUsersbyGroupByClass has to be used.The class attribute has to include the group's name, which should be used for filling the field. In this example the group ist “pm”.
The result should look like this:
If a user is selected, this function also creates new process variables. These include information about the selected user. The prefix of the variables' names is constructed with the ID if the field.