The top-level /Campaigns/campaignWorkflow is the process workflow invoked when a user selects the Operations > Outreach > Create a Campaign option in the ATG Business Control Center.

The campaignWorkflow manages the creation of new campaign projects and controls how campaigns can be modified after they’re deployed and running on a target site. As shown below, it invokes the /Campaigns/project/Standard workflow (see Standard Project Workflow for details) to create a new campaign project and then waits for that project to be completed. Note: The Standard workflow deploys campaign assets to all target sites. You can switch to a different deployment model by double-clicking on the Create Project element and specifying one of the other project workflows: Early Staged, Late Staged, Early Concurrent, or Late Concurrent.

If the campaign project is deleted, the campaignWorkflow deletes the parent process. If the project is completed, the workflow advances to the Modify Deployed task element.

Modify Deployed Task

The Modify Deployed task element controls the Modify and Delete options for deployed campaign projects.

This task includes two outcome elements, Modify and Delete, which correspond to Stop and Modify and Delete in the ATG Business Control Center.

When a user selects the Stop and Modify task action, the workflow does the following:

  1. Locks the campaign.

  2. Disables the campaign scenario and deploys to all targets.

  3. Waits for the project to be completed.

  4. Unlocks the campaign.

  5. Invokes the /Campaigns/project/Standard workflow (see Standard Project Workflow for details) to create a new campaign project and then waits for that project to be completed.

  6. If the status of the completed project is “completed,” the workflow goes back to the beginning of the Modify Deployed task. If the status of the completed project is “deleted,” the workflow enables the campaign and deploys to all targets, waits for the project to complete, and then goes back to the beginning of the Modify Deployed task.

When a user selects the Delete task action, the workflow does the following:

  1. Locks the campaign.

  2. Deletes the campaign and deploys to all targets.

  3. Waits for the project to be completed.

  4. Unlocks the campaign.

  5. Deletes the campaign process data.

  6. Deletes the parent campaign process.

If the campaign is already running, the workflow changes the process status to “running” and advances to the Modify Running Task.

Modify Running Task

The Modify Running task element controls the Modify and End options for campaign projects already running on a target site.

This task includes two outcome elements, Modify and End.

When a user select the Modify task action, the workflow does the following:

  1. Invokes the /Campaigns/project/Standard workflow (see Standard Project Workflow for details) to create a new campaign project.

  2. Waits for that project to be completed.

  3. Returns to the beginning of the Modify Running task.

When a user selects the End task action, the workflow does the following:

  1. Locks the campaign.

  2. Disables the campaign scenario and deploys to all targets.

  3. Waits for the project to be completed.

  4. Unlocks the campaign.

  5. Changes the status of the parent process to “deployed.”

  6. Advances to the Delete task element.

If the status of the running campaign is “completed,” the workflow changes the process’s status to “deployed” and advances to the Delete task.

Delete task

The Delete task has one outcome element, Delete, which does the following:

 
loading table of contents...