This widget provides user list from Liferay database by using the UserService mechanism. User list is narrowed to default company and specific user role. This widget looks exactly like LDAP UserData Widget.
Attribute name |
Type |
Required |
Default value |
Description |
bpmVariableName |
String |
True |
- |
The name of the variabe that should be used to bind the result. |
roleName |
String |
True |
User |
The name of the user role. |
roleInProcess |
String |
True |
- |
Role in process to which the selected user should be assigned. |
required |
Boolean |
False |
False |
If set to true, one will be required to select user from the list. |
Permission name |
Description |
EDIT |
If one does not have this permission this widget will be displayed as read only. |
<config.ProcessStateWidget className="LiferayUserData" priority="10">
<permissions>
<config.ProcessStateWidgetPermission priviledgeName="EDIT" roleName=".*"/>
</permissions>
<attributes>
<config.ProcessStateWidgetAttribute name="bpmVariableName" value="myVar"/>
<config.ProcessStateWidgetAttribute name="roleInProcess" value="owner"/>
<config.ProcessStateWidgetAttribute name="roleName" value="analyst"/>
<config.ProcessStateWidgetAttribute name="caption" value="Analyst"/>
<config.ProcessStateWidgetAttribute name="comment" value="This widget does nothing, except showing
us integration with Liferay - fetching users list. The select user's login will be available
to the BPM engine."/>
</attributes>
</config.ProcessStateWidget>
