In YAWL extended attributes cannot be applied directly to single elements of complex types. Let us assume that we want to display the "Comment" element of the "candidateType" as a text area.

<xs:schema xmlns:xs="">
  <xs:complexType name="candidateType">
      <xs:element name="Name" type="xs:string" />
      <xs:element name="Phone_number" type="xs:string" />
      <xs:element name="Comment" type="xs:string" />
  <xs:complexType name="candidatesType">
      <xs:element name="Candidate" type="candidateType" minOccurs="1" maxOccurs="unbounded" />

We will demonstrate a way to solve the problem in task "Interview_candidate" of the as in the next screenshot:


The input mapping of task variable "Name" is


Variables "Phone_number" and "Comment" are treated in a similar fashion. The output mapping of task variable "candidates_item" is


Task variable "candidates_item" is hidden using an extended attribute. Task variable "Comment" has an extended attribute "Text area". The specification is attached.


This solved my problem. Thanks a lot for the detailed tutorial!