Ident2CSVfile
Workflow for Export from LDAP to a CSV file
Ident2CSVfile exports data from the Identity Store to a CSV file. You use it when another system expects periodic file-based extracts from DirX Identity instead of reading the Identity Store directly.
The workflow runs as a single MetaCP job. It can work with delta-capable exports or with a full export, depending on how you run the scheduled job.
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 |
Source Scheduled / CSVfile |
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
-
The
MetaCPagent is available for scheduled execution. -
The channel
Ident2CSVfileis configured for the Identity Store input and the CSV output of the job. -
The target CSV location is writable from the system where
MetaCPruns.
Workflow and Activities
| Step | Activity | Description | Agent | Runs after |
|---|---|---|---|---|
1 |
|
Export from LDAP to a CSV file |
|
start activity |
Jobs and Agents
| Activity | Job | Agent | Operation | Input channel | Output channel |
|---|---|---|---|---|---|
|
|
|
Full Export |
|
|
Configuration Parameters
| Parameter | Default value |
|---|---|
|
0 |
|
delta-or-full |
|
1 |
|
FALSE |
|
REAL |
|
10 |
|
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.
The workflow has one activity, Ident2CSVfile_MetaCP. This activity performs the complete export through channel Ident2CSVfile in one MetaCP job. Because no second activity follows, any error in this job ends the workflow run immediately.
Operation
-
The scheduler starts job
Ident2CSVfile_MetaCPin agentMetaCP. -
MetaCPreads the required data from the Identity Store through channelIdent2CSVfileand applies the configured mappings. -
Delta handling is enabled for this job, so you can use it for delta-oriented exports or run it as a full export when you need a complete file.
-
MetaCPwrites the export result to the configured CSV target. If the job fails, the workflow ends with that error.