One Time Only - Set Up A DB Process To Copy User Groups

You need a "copy user group" database process (DB process) setup in the target database (e.g., your implementation's database). This DB process has a single instruction that references the user group maintenance object (MO). This instruction should have a table rule with an override condition that selects the user groups in question. For example, the override condition #SC_USER_GROUP.USR_GRP_ID LIKE 'CI_%' is used on the DB process that copies user groups prefixed with CI_. The demonstration database contains such a DB process; it's called CI_COPUG. In order to copy user groups from the demonstration database, you must first copy this DB process from the demonstration database.

CAUTION:
The remainder of this section is confusing as it describes a DB process that copies another DB process. Fortunately, you will only have to do the following once. This is because after you have a "copy user groups" DB process in your target database, you can use it repeatedly to copy user groups from the demonstration database.

You can copy the CI_COPUG DB process from the demonstration database by submitting the CL-COPDB background process in your target database. When you submit this process, you must supply it with an environment reference that points to the demonstration database. If you don't have an environment reference configured in your target database that references the demonstration database, you must have your technical staff execute a registration script that sets up this environment reference. Refer to Registering ConfigLab Environments for more information.

CL-COPDB is initially delivered ready to copy every DB process that is prefixed with CI_ from the source database (there are numerous sample DB processes in the demonstration database and this process copies them all). If you only want to copy the CI_COPUG DB process, add a table rule to the primary instruction of the CL-COPDB database process to only copy the CI_COPUG DB process. The remainder of this section assumes you have added this table rule.

When the CL-COPDB process runs, it highlights differences between the "copy user groups" DB process in your source database and the target database. The first time you run this process, it creates a root object in the target database to indicate the CI_COPUG DB process will be added to your target database. You can use the Difference Query to review these root objects and approve or reject them.

After you've approved the root object(s), submit the CL-APPCH batch process to change your target database. You must supply the CL-APPCH process with two parameters: