CampaignGeneration
Starts a certification campaign
CampaignGeneration scans the Identity Store for groups, permissions and roles that are due for
certification and starts a certification campaign for each. It evaluates the groups_filter,
permissions_filter and roles_filter parameters to identify entries whose certification date has
been reached and whose campaign is not yet pending, and then uses the CampaignGeneratorAgent to
create the corresponding campaign objects.
Run this workflow on a schedule so that certification campaigns are created automatically when entries become due, or trigger it manually to start a certification cycle at any time.
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 |
Identity Store |
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 |
8.1 |
Factory data path |
|
Prerequisites
-
The DirX Identity certification feature must be configured in the domain.
-
Groups, permissions or roles must have
dxrNeedsCertificationset totrueand adxrCertificationDatevalue so that the workflow’s filters can match them. -
The
CampaignGeneratorAgentmust be deployed in the C++-based Server.
Workflow and Activities
| Step | Activity | Description | Agent | Runs after |
|---|---|---|---|---|
1 |
|
Starts certification campaigns |
|
start activity |
Jobs and Agents
| Activity | Job | Agent | Operation | Input channel | Output channel |
|---|---|---|---|---|---|
|
|
|
Full Import |
|
|
Configuration Parameters
| Parameter | Default value |
|---|---|
|
full |
|
0 |
|
P0Y0M0DT0H0M0S |
|
(&(objectClass=dxrTargetSystemGroup)(dxrNeedsCertification=true)(|(dxrCertificationPending=FALSE)(!(dxrCertificationPending=)))(|(!(dxrState=DELETED))(!(dxrState=)))(dxrCertificationDate ⇐$\28gmtime\29)) |
|
10 |
|
100 |
|
P0Y0M0DT0H0M0S |
|
(&(objectClass=dxrPermission)(dxrNeedsCertification=true)(|(dxrCertificationPending=FALSE)(!(dxrCertificationPending=)))(|(!(dxrState=DELETED))(!(dxrState=)))(dxrCertificationDate ⇐$\28gmtime\29)) |
|
10 |
|
100 |
|
FALSE |
|
FALSE |
|
P0Y0M0DT0H0M0S |
|
(&(objectClass=dxrRole)(dxrNeedsCertification=true)(|(dxrCertificationPending=FALSE)(!(dxrCertificationPending=)))(|(!(dxrState=DELETED))(!(dxrState=)))(dxrCertificationDate ⇐$\28gmtime\29)) |
|
10 |
|
100 |
|
2 |
|
100 |
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 a single activity, CampaignGeneration, which runs the
CampaignGeneratorAgent job. The job reads entries that match the configured filters from the
Default input channel and writes the generated campaign objects back through the Default
output channel. The users_limit parameter caps the number of users per campaign object, and
the separate *_pagesize and *_user_pagesize parameters control how many items are read in
each batch.
Operation
-
You start the workflow manually from the Identity Manager or attach it to a schedule.
-
The C++-based Server starts the
CampaignGenerationactivity and launches theCampaignGeneratorAgentjob. -
The agent reads groups, permissions and roles from the Identity Store that match the respective LDAP filters and whose
dxrCertificationDateis at or before the current time. -
For each matching entry the agent creates a certification campaign object in the Identity Store, limited to
users_limitusers per campaign. -
Entries for which
dxrCertificationPendingis alreadyTRUEor whose state isDELETEDare skipped by the filters. -
After the run the new campaign objects are visible in the Identity Manager and available for the reviewers' approval workflow.