Tests are deployed to the target servers specified in the ABTestWorkflow project workflow. After you have configured your ATG Campaign Optimizer Production/Staging modules as deployment targets in ATG Content Administration, you must add the targets to the deployment-related elements in the workflow definitions for tests.

Note: As mentioned earlier in Defining the Deployment Topology, you can omit this step if you used the default values “staging” and “production” as the names you gave your ATG Campaign Optimizer deployment targets in ATG Content Administration.

ATG Campaign Optimizer includes two workflows, a single-target workflow that is typically used to deploy tests to a production site, and a dual-target workflow that can be used to deploy to both a staging site and a production site.

Before you begin the steps that follow, make sure you started the ATG Campaign Optimizer server with the appropriate commands. The startup commands determine the workflow (staging and production, or production only) that appears in the ACC and the corresponding tasks that appear in the ATG Business Control Center. See Starting ATG Campaign Optimizer for more information. (You can identify the workflow that is being used either by looking at the workflow itself in the ACC, as described below, or by looking at the tasks that appear for the workflow in the project area of the ATG Business Control Center. See Managing Workflows for more information.)

  1. Start the ACC.

  2. Select Workflow > Publishing > CampaignOptimizer.

  3. Select ABTestWorkflow to open the workflow.

  4. Edit the deployment-related elements so they include the ATG Campaign Optimizer Production/Staging deployment targets. Unless you used the default names for your deployment targets, all these elements appear in red to indicate they are incomplete.

    Partial view of workflow: incomplete deployment element

    Partial view of workflow: editing the deployment element

    Partial view of workflow: deployment element complete

    For information on which server (staging or production) to add to each deployment element, refer to the table at the end of this procedure.

    For more information on editing workflow elements, refer to the ATG Personalization Guide for Business Users.

  5. Save the workflow.

The table below shows which target to add to each part of the workflow.

Workflow elements

Add this target

All deployment elements in Staging Approval task

Staging server

All deployment elements in first Wait for Deployment to Complete task

Staging server

Deployment elements in Reject branch of Production Approval task

Staging server

All other (non Reject) deployment elements in Production Approval task

Production server

All deployment elements in second Wait for Deployment to Complete task

Production server