Ident_ODBC_Sync
Workflow for Export from Identity Store and Import to ODBC and backwards
Ident_ODBC_Sync is the scheduled sample workflow for comprehensive bidirectional synchronization between the Identity Store and an ODBC-connected system. It handles accounts, groups, group memberships, objects that must be deleted, and the follow-up synchronization that reads back ODBC-assigned keys after new objects are created.
The workflow calls the companion sub-workflows ODBC2Ident_Sync_NewAcc, ODBC2Ident_Sync_NewGroup, Ident2ODBC_SyncAccountDel, and Ident2ODBC_SyncGroupDel. Together, these steps complete the write cycle for newly created objects and remove objects that are already marked for deletion in the Identity Store.
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 / ODBC |
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
ODBCImportandODBCExportfor the ODBC-connected system or database that represents the target system. -
Configure
MetaCPfor the corresponding target system subtree in the Identity Store. -
Make sure the companion sub-workflows
Ident2ODBC_SyncAccountDel,Ident2ODBC_SyncGroupDel,ODBC2Ident_Sync_NewAcc, andODBC2Ident_Sync_NewGroupare available and configured for the same ODBC target system.
Workflow and Activities
| Step | Activity | Description | Agent | Runs after |
|---|---|---|---|---|
1 |
|
export Identity Store accounts with dxrTSState=NONE(new to ODBC) |
|
start activity |
2 |
|
import new accounts to ODBC |
|
|
3 |
|
synch back new accounts to Role to get the ODBC keys |
- |
|
4 |
|
Export Identity Store Data via metacp Agent to file |
|
|
5 |
|
Import data file to ODBC Directory |
|
|
6 |
|
synch back new groups to Role to get the ODBC keys |
- |
|
7 |
|
export memberships to create or to delete in TS |
|
|
8 |
|
import new/deleted memberships |
|
|
9 |
|
export accounts to be deleted in ODBC |
- |
|
10 |
|
export groups to be deleted in ODBC |
- |
|
11 |
|
Export changed ODBC records |
|
|
12 |
|
import group/membership changes |
|
|
13 |
|
export changed accounts |
|
|
14 |
|
import account changes |
|
|
Jobs and Agents
| Activity | Job | Agent | Operation | Input channel | Output channel |
|---|---|---|---|---|---|
|
|
|
Full Export |
|
|
|
|
|
Full Import |
|
|
|
|
- |
not set |
- |
- |
|
|
|
Full Export |
|
|
|
|
|
Full Import |
|
|
|
|
- |
not set |
- |
- |
|
|
|
Full Export |
|
|
|
|
|
Full Import |
|
|
|
|
- |
not set |
- |
- |
|
|
- |
not set |
- |
- |
|
|
|
Full Export |
|
|
|
|
|
Full Export |
|
|
|
|
|
Full Export |
|
|
|
|
|
Full Export |
|
|
Configuration Parameters
| Parameter | Default value |
|---|---|
|
0 |
|
delta-or-full |
|
1 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
10 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
TRUE |
|
4 |
|
full |
|
0 |
|
100 |
|
1 |
|
0 |
|
W S FS CA Stats SQL |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
FALSE |
|
FALSE |
|
10 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
TRUE |
|
4 |
|
full |
|
0 |
|
100 |
|
1 |
|
0 |
|
W S FS CA Stats SQL |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
10 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
TRUE |
|
4 |
|
full |
|
0 |
|
100 |
|
1 |
|
0 |
|
W S FS CA Stats SQL |
| Parameter | Default value |
|---|---|
|
TRUE |
|
4 |
|
delta-or-full |
|
1 |
|
100 |
|
1 |
|
0 |
|
W S FS CA Stats Ref |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
10 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
TRUE |
|
4 |
|
delta-or-full |
|
1 |
|
100 |
|
1 |
|
0 |
|
W S FS CA Stats Ref |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
10 |
|
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:
-
Ident2ODBC_SyncAccount_MetaCPexports new or changed accounts from the Identity Store, andIdent2ODBC_SyncAccount_ODBCImportwrites them to the ODBC side. -
ODBC2Ident_SyncNewAccWFthen calls the companion workflow that reads back ODBC-assigned keys for newly created accounts. -
Ident2ODBC_SyncGroup_MetaCPexports groups from the Identity Store,Ident2ODBC_SyncGroup_ODBCImportwrites them to the ODBC side, andODBC2Ident_SyncNewGroupWFreads back ODBC-assigned keys for newly created groups. -
Ident2ODBC_SyncGroupMembers_MetaCPexports membership changes, andIdent2ODBC_SyncGroupMembers_ODBCImportapplies those membership changes in the ODBC-connected system. -
Ident2ODBC_SyncAccountDelandIdent2ODBC_SyncGroupDelcall the companion deletion workflows for objects in stateTBDEL. -
ODBC2Ident_SyncGroup_ODBCExportandODBC2Ident_SyncGroup_MetaCPsynchronize changed groups from ODBC back to the Identity Store, andODBC2Ident_SyncAcc_ODBCExportplusODBC2Ident_SyncAcc_MetaCPdo the same for accounts.
If one activity fails, the workflow stops at that point and the remaining activities do not run.
Operation
-
Start
Ident_ODBC_Syncmanually or on a schedule. -
The workflow begins with the Identity Store to ODBC direction for accounts, immediately followed by the companion workflow that reads back ODBC-assigned keys for newly created accounts.
-
It then repeats the same pattern for groups, synchronizes group memberships, and calls the dedicated deletion workflows for accounts and groups that are already in state
TBDELin the Identity Store. -
After the outbound work is complete, the workflow exports changed groups from the ODBC-connected system and imports them into the Identity Store, then does the same for changed accounts.
-
If a main activity or called sub-workflow fails, the remaining steps do not run. When the workflow finishes successfully, the Identity Store has processed the returned ODBC data and holds the keys that the connected system assigned to newly created objects.