If an object of the Task type is connected to an organizational element in an assigned function allocation diagram, the resource element is generated. If the type of task is a Manual task or User task, an element of the potentialOwner type is added. This subordinate element contains an element of the resourceRef type that references the resource.