The following are configuration formats for setting User-type/Organization-type data via EL Syntax. They are available for updating the data of User-type/Organization-type data items in [Update Data] or setting the values for each Task. In addition to setting a particular user or a particular organization, the following references are available: reference to the user registered with the email addresses that matches a specified string, reference to the organization with the name that matches a specified string, reference to the process start user, reference to the organization to which a specified user mainly belongs, and the parent/child organization of a specified organization.
BPMN Icon: [Update Data]
Assignment to User-type Data Items
A Quser object (QuserView) or a string can be assigned to User-type data items. However, a string is treated as an email address, and if a user registered with that email address exists, the user is specified as a user.
A Particular User
| Format | Result |
|---|---|
| 'user@example.com' | A user whose registered email address is user@example.com |
Referencing Workflow Variables
Process
| processInstanceInitQuser | The user who started the process |
Referencing a String-type Data Item
| #q_string | A user whose registered email address is the same as the string specified in q_string |
Referencing a User/Organization Type Data Item
| #q_user_other | A user specified in another User-type data item, q_user_other |
Assignment to Organization-type Data Items
Qgroup objects (QgroupView) or a string can be assigned to Organization-type data items. However, a string is treated as an organization name, and if the corresponding organization name exists, it will be specified as that organization. If there is no corresponding organization, the organization type data item is overwritten with a blank.
A Particular Organization
| Format | Result |
|---|---|
| 'Sales Department' | Sales Department |
Referencing Workflow Variables
Process
| processInstanceInitQgroup | The organization that started the process |
Referencing a String-type Data Item
| #q_string | The organization whose name is the same as the string specified in q_string |
Referencing a User/Organization Type Data Item
| Format | Result |
| #qgroupDao.findPrimaryQgroup(#q_user) | Sales Department 1 (The organization to which the user specified in the user-type data item, q_user, primarily belongs.) |
| #q_group_other | Product Development Department (Organization specified in another Organization-type data item, q_group_other.) |
| #qgroupDao.findParentQgroup(#q_org) | Sales and Marketing Division (Parent organization of the organization specified in the Organization-type data item, q_org.) |
Note: In the example above, the user specified in q_user belongs to "Sales Department 1", q_org is also specified as "Sales Department 1" whose parent organization is "Sales and Marketing Division", and q_group_other is specified as "Product Development Department".