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>
...
<accountType>
...
<attribute>
...
<outbound>
<initial>true</initial>
<expression>
<code>
concat('uid=', $c:user/c:name, ',ou=people,dc=example,dc=com')
</code>
</expression>
</outbound>
...
</attribute>
...
</accountType>
...
</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 |
---|---|---|
|
User associated with the account. 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. |