ActiveVOS Designer BPEL for People User’s Guide

Using Literal Values for Role Assignments

Use the Literal option to directly specify users or groups for process, task, and notification-related people assignments. Using Literal, you generate an XML document with placeholder values that you can fill in for individual users or groups.

Note: You cannot have a mixed list of users and groups, according to the WS-HT Human Task specification.

To add a literal value for a process, task, or notification role:

  1. From the Outline View, select People Assignment, task or notification.
  2. For future release. People Assignment is not available unless the process contains a People activity.

  3. In the Assignment tab of the Properties view, select a role, such as a task role of potential owners.
  4. In the Value column, select the Dialog Button at the end of the row.
  5. In the Role dialog, select Literal from the Source drop-down.
  6. Select Generate.
  7. Notice that the ht:organizationalEntity element is generated. This is the required element for defining people assignments.
  8. In the text box, modify the values to add the users or groups you want.

The following literal contents are generated:

<ht:organizationalEntity 
     xmlns:ht='http://www.example.org/WS-HT'>
  <ht:users>
     <ht:user>Some User</ht:user>
  </ht:users>
</ht:organizationalEntity>

Modify this XML sample as follows:

The following is an example of a valid XML data sample:

Example

<htd:potentialOwners>
   <htd:from>
     <htd:literal>
       <htd:organizationalEntity>
         <ht:users>
           <ht:user>Ann.Weston</ht:user>
           <ht:user>Anu.Martin</ht:user>
           <htd:user>Deborah.Smile</ht:user>
         </ht:users>
       </ht:organizationalEntity>
     </ht:literal>
   </ht:from>
</ht:potentialOwners>