JDBC2Ident_Sync_NewAcc
synch back the newly created accounts to Role to get the JDBC keys
After Ident_JDBC_Sync creates new accounts in the JDBC-connected database, the database can assign keys that do not yet exist in the Identity Store. JDBC2Ident_Sync_NewAcc exports those newly created accounts with JDBCExport and imports them with MetaCP so that the target system subtree in the Identity Store receives the JDBC-assigned keys.
JDBC2Ident_Sync_NewAcc is a companion sub-workflow of Ident_JDBC_Sync and completes the write cycle for newly created accounts.
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 / JDBC |
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
JDBCExportfor the JDBC-connected database. -
Configure
MetaCPfor the corresponding target system subtree in the Identity Store.
Workflow and Activities
| Step | Activity | Description | Agent | Runs after |
|---|---|---|---|---|
1 |
|
export new accounts |
|
start activity |
2 |
|
import new accounts to Role |
|
|
Jobs and Agents
| Activity | Job | Agent | Operation | Input channel | Output channel |
|---|---|---|---|---|---|
|
|
|
Full Export |
|
|
|
|
|
Full Export |
|
|
Configuration Parameters
| Parameter | Default value |
|---|---|
|
TRUE |
|
9 |
|
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:
-
JDBC2Ident_SyncNewAccount_JDBCExportexports the newly created accounts from the JDBC-connected database. -
JDBC2Ident_SyncNewAcc_MetaCPimports those accounts into the Identity Store so that JDBC-assigned keys are written back.
If one activity fails, the workflow stops at that point and the remaining activities do not run.
Operation
-
Start
JDBC2Ident_Sync_NewAccdirectly or letIdent_JDBC_Synccall it after the outbound account creation step. -
The workflow exports the relevant new JDBC-side accounts with
JDBCExport. -
MetaCPimports that data into the Identity Store and updates the target system subtree with the keys assigned by the database. -
If the export or import step fails, the workflow stops and the JDBC-assigned keys are not written back during that run.
-
A successful run leaves the newly created account objects in the Identity Store aligned with the identifiers returned by the JDBC-connected database.