
Outbound Mapping
Outbound mapping define how the data are synchronized from the user to accounts or, in other words, when the data out of midPoint. See Synchronization Examples for a generic explanation of the synchronization mechanism.

Outbound expressions are defined in the schema handling section of resource definition. The expression definition is inside attribute definition which is inside account type definition:
<resource>
...
<schemaHandling>
...
<objectType>
...
<attribute>
...
<outbound>
<initial>true</initial>
<expression>
<code>
concat('uid=', $c:focus/c:name, ',ou=people,dc=example,dc=com')
</code>
</expression>
</outbound>
...
</attribute>
...
</objectType>
...
</schemaHandling>
...
</resource>
Variables
Outbound expressions usually take variables from the system variables provided by midPoint when the expression is evaluated. Following table summarizes the variables available to outbound expressions.
Variable name | Type | Description |
---|---|---|
|
Subclasses of FocusType |
Represents focal object which is typically a user. This is the most common source of data for outbound expressions. |
|
integer |
Numeric value describing the current iteration.
It starts with |
|
string |
String value describing the current iteration. It is usually suffix that is appended to the username or a similar "extension" of the value. It should have different value for every iteration. The actual value is determined by the iteration settings. |