# FocalAutoassignSpecificationType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Specification of role auto-assignment properties. Those properties are evaluated to detect whether a role should be automatically assigned to focus. This is "focal" specification. It is applied on the focus (similarly to object template).

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
mapping | container AutoassignMappingType | [0,-1] | Mapping that decides whether the roles has to be assigned.

- ### Items

  - #### mapping

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Mapping that decides whether the roles has to be assigned. The mapping is supposed to produce an assignment for this role. However, the assignment is fed as a default source to the mapping. Therefore all that the mapping usually needs is to specify the condition. However, mapping expression can still be used to manipulate content of the assignment.

    This is mostly equivalent to the object template mapping, but default target is set to the assignment of this role.