Ident_Notes_Sync

Workflow for Export from Identity Store and Import to Notes and backwards

Ident_Notes_Sync synchronizes a connected HCL Notes directory and the corresponding target system subtree in the Identity Store in both directions. It first sends account and group changes from the Identity Store to the Notes side and then reads account and group changes from Notes back into the Identity Store.

Use this workflow for scheduled bidirectional synchronization when Notes remains an active source as well as a target of changes.

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

Ident_Notes_Sync

Category

Target Scheduled / Notes

Technology

Tcl-based scheduled workflow

LDAP object class

dxmWorkflow

Workflow type

Sync

Connected system / controller type

-

Configuration wizard

LDAP-LDAP,Notes

Active in the factory data

not set

Factory data version

7.0

Factory data path

Workflows/Default/Target Scheduled/Notes/Ident_Notes_Sync

Prerequisites

  • Configure NotesAgent for the connected HCL Notes directory.

  • Configure MetaCP for the corresponding target system subtree in the Identity Store.

Workflow and Activities

Step Activity Description Agent Runs after

1

Ident2Notes_SyncAccount_MetaCP

Export of accounts

MetaCP

start activity

2

Ident2Notes_SyncAccount_NotesAgent

Import of accounts

NotesAgent

Ident2Notes_SyncAccount_MetaCP

3

Ident2Notes_SyncGroup_MetaCP

Export of groups

MetaCP

Ident2Notes_SyncAccount_NotesAgent

4

Ident2Notes_SyncGroup_NotesAgent

Import of groups

NotesAgent

Ident2Notes_SyncGroup_MetaCP

5

Notes2Ident_SyncAccount_NotesAgent

Export of accounts from Notes

NotesAgent

Ident2Notes_SyncGroup_NotesAgent

6

Notes2Ident_SyncAccount_MetaCP

Import of accounts

MetaCP

Notes2Ident_SyncAccount_NotesAgent

7

Notes2Ident_SyncGroup_NotesAgent

Export of groups from Notes

NotesAgent

Notes2Ident_SyncAccount_MetaCP

8

Notes2Ident_SyncGroup_MetaCP

Import of groups

MetaCP

Notes2Ident_SyncGroup_NotesAgent

Jobs and Agents

Activity Job Agent Operation Input channel Output channel

Ident2Notes_SyncAccount_MetaCP

Ident2Notes_SyncAccount_MetaCP

MetaCP

Full Export

Ident2Notes_SyncAccount

OutData

Ident2Notes_SyncAccount_NotesAgent

Ident2Notes_SyncAccount_NotesAgent

NotesAgent

Full Import

InData

Ident2Notes_SyncAccount

Ident2Notes_SyncGroup_MetaCP

Ident2Notes_SyncGroup_MetaCP

MetaCP

Full Export

Ident2Notes_SyncGroup

OutData

Ident2Notes_SyncGroup_NotesAgent

Ident2Notes_SyncGroup_NotesAgent

NotesAgent

Full Import

InData

Ident2Notes_SyncGroup

Notes2Ident_SyncAccount_NotesAgent

Notes2Ident_SyncAccount_NotesAgent

NotesAgent

Delta Export

Notes2Ident_SyncAccount

OutData

Notes2Ident_SyncAccount_MetaCP

Notes2Ident_SyncAccount_MetaCP

MetaCP

Delta Import

InData

Notes2Ident_SyncAccount

Notes2Ident_SyncGroup_NotesAgent

Notes2Ident_SyncGroup_NotesAgent

NotesAgent

Delta Export

Notes2Ident_SyncGroup

OutData

Notes2Ident_SyncGroup_MetaCP

Notes2Ident_SyncGroup_MetaCP

MetaCP

Delta Import

InData

Notes2Ident_SyncGroup

Configuration Parameters

Table 1. Parameters of job Ident2Notes_SyncAccount_MetaCP
Parameter Default value

debug_trace

0

delta_mode

delta-or-full

delta_on

1

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

test_max_entries

0

trace_level

1

trace_recordcount

0

Table 2. Parameters of job Ident2Notes_SyncAccount_NotesAgent
Parameter Default value

delta_mode

full

delta_on

0

trace

1

tracelevel_1

1

tracelevel_2

1

tracelevel_3

0

Table 3. Parameters of job Ident2Notes_SyncGroup_MetaCP
Parameter Default value

debug_trace

0

delta_mode

delta-or-full

delta_on

1

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

test_max_entries

10

trace_level

1

trace_recordcount

0

Table 4. Parameters of job Ident2Notes_SyncGroup_NotesAgent
Parameter Default value

delta_mode

full

delta_on

0

trace

1

traceitemtypes

0

tracelevel_1

1

tracelevel_2

1

tracelevel_3

0

Table 5. Parameters of job Notes2Ident_SyncAccount_NotesAgent
Parameter Default value

delta_mode

delta-or-full

delta_on

1

trace

1

tracelevel_1

1

tracelevel_2

1

tracelevel_3

0

Table 6. Parameters of job Notes2Ident_SyncAccount_MetaCP
Parameter Default value

debug_trace

0

delta_mode

full

delta_on

0

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

test_max_entries

10

trace_level

1

trace_recordcount

0

Table 7. Parameters of job Notes2Ident_SyncGroup_NotesAgent
Parameter Default value

delta_mode

delta-or-full

delta_on

1

trace

1

tracelevel_1

1

tracelevel_2

1

tracelevel_3

0

Table 8. Parameters of job Notes2Ident_SyncGroup_MetaCP
Parameter Default value

debug_trace

0

delta_mode

full

delta_on

0

exact_action

FALSE

init_mode

REAL

max_trace_entries

10

min_source_entries

0

notify_not_ok

0

statistics

TRUE

test_mapping_only

FALSE

test_max_entries

10

trace_level

1

trace_recordcount

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:

  1. Ident2Notes_SyncAccount_MetaCP exports account changes from the Identity Store.

  2. Ident2Notes_SyncAccount_NotesAgent imports those account changes into the Notes directory.

  3. Ident2Notes_SyncGroup_MetaCP exports group changes from the Identity Store.

  4. Ident2Notes_SyncGroup_NotesAgent imports those group changes into the Notes directory.

  5. Notes2Ident_SyncAccount_NotesAgent exports account changes from Notes.

  6. Notes2Ident_SyncAccount_MetaCP imports those account changes into the Identity Store.

  7. Notes2Ident_SyncGroup_NotesAgent exports group changes from Notes.

  8. Notes2Ident_SyncGroup_MetaCP imports 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

  1. Start Ident_Notes_Sync manually or on a schedule.

  2. The workflow begins with the Identity Store to Notes direction by exporting accounts with MetaCP and importing them with NotesAgent, then repeating the same pattern for groups.

  3. After the outbound pass finishes, the workflow changes direction and exports accounts from Notes with NotesAgent before importing them into the Identity Store with MetaCP.

  4. It then repeats the return pass for groups so that both object types are processed in both directions during the same run.

  5. When the workflow completes successfully, the scheduled run has applied outbound changes to Notes and has imported the latest returned account and group data into the Identity Store.