Ident_ADS_Sync
Workflow for Export from Identity Store and Import to ADS and backwards
Ident_ADS_Sync is the scheduled sample workflow for bidirectional synchronization between the Identity Store and an Active Directory domain represented by a target system of type ADS. It first sends account and group changes from the Identity Store to Active Directory and then reads account and group changes from Active Directory back into the Identity Store.
Use this workflow when you want a regular exchange in both directions instead of a one-way export or a validation-only run.
The workflows in this reference are delivered as factory data and are loaded into the Connectivity configuration database during the initial configuration. They are samples: use the Identity Manager to copy a workflow into your own scenario and adapt the copy. Do not change the delivered objects, because a product update can replace them.
At a Glance
Name |
|
Category |
Target Scheduled / ADS |
Technology |
Tcl-based scheduled workflow |
LDAP object class |
|
Workflow type |
|
Connected system / controller type |
- |
Configuration wizard |
|
Active in the factory data |
not set |
Factory data version |
7.0 |
Factory data path |
|
Prerequisites
-
Configure
ADSAgentfor the connected directory of typeADSthat points to the Active Directory domain. -
Configure
MetaCPfor the corresponding target system, and make sure theADStarget system and its connected directory are linked correctly in the Identity Store.
Workflow and Activities
| Step | Activity | Description | Agent | Runs after |
|---|---|---|---|---|
1 |
|
Export of accounts |
|
start activity |
2 |
|
Import of accounts |
|
|
3 |
|
Export of groups |
|
|
4 |
|
Import of groups |
|
|
5 |
|
export of accounts from ads |
|
|
6 |
|
import of accounts to role |
|
|
7 |
|
export of groups from ads |
|
|
8 |
|
import of groups to role |
|
|
Jobs and Agents
| Activity | Job | Agent | Operation | Input channel | Output channel |
|---|---|---|---|---|---|
|
|
|
Full Export |
|
|
|
|
|
Full Import |
|
|
|
|
|
Full Export |
|
|
|
|
|
Full Import |
|
|
|
|
|
Delta Export |
|
|
|
|
|
Delta Import |
|
|
|
|
|
Delta Export |
|
|
|
|
|
Delta Import |
|
|
Configuration Parameters
| Parameter | Default value |
|---|---|
|
0 |
|
delta-or-full |
|
1 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
0 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
full |
|
0 |
|
1 |
| Parameter | Default value |
|---|---|
|
0 |
|
delta-or-full |
|
1 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
0 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
full |
|
0 |
|
1 |
| Parameter | Default value |
|---|---|
|
delta-or-full |
|
1 |
|
1 |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
delta-or-full |
|
1 |
|
1 |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
1 |
|
0 |
A Tcl-based workflow runs scheduled in the C++-based Server (IdS-C). Its activities run in the order
defined by the dxmPredecessorActivity-DN chain, and each activity starts a job that runs one agent
with one input and one output channel. Agents exchange their data through files or directly through
the meta controller, so a typical workflow consists of an export activity that writes the data of the
connected system and an import activity that maps and loads that data into the Identity Store.
You start these workflows manually from the Identity Manager or attach them to a schedule.
In this workflow, the C++-based Server runs these activities in sequence:
-
Ident2ADS_SyncAccount_MetaCPexports account changes from the Identity Store. -
Ident2ADS_SyncAccount_ADSAgentimports those account changes into Active Directory. -
Ident2ADS_SyncGroup_MetaCPexports group changes from the Identity Store. -
Ident2ADS_SyncGroup_ADSAgentimports those group changes into Active Directory. -
ADS2Ident_SyncAccount_ADSAgentexports account changes from Active Directory. -
ADS2Ident_SyncAccount_MetaCPimports those account changes into the Identity Store. -
ADS2Ident_SyncGroup_ADSAgentexports group changes from Active Directory. -
ADS2Ident_SyncGroup_MetaCPimports those group changes into the Identity Store.
If one activity fails, the workflow stops at that point and the remaining activities do not run.
Operation
-
Start
Ident_ADS_Syncmanually or on a schedule. -
The workflow begins with the Identity Store to Active Directory direction by exporting accounts with
MetaCPand importing them withADSAgent, then repeating the same pattern for groups. -
After the outbound pass finishes, the workflow changes direction and exports accounts from Active Directory with
ADSAgentbefore importing them into the Identity Store withMetaCP. -
It then repeats the return pass for groups so that both object types are processed in both directions during the same run.
-
When the workflow completes successfully, the scheduled run has applied outbound changes to Active Directory and has imported the latest returned account and group data into the Identity Store.