Orchestrate activities orchestrate

Once you have created a workflow, whether from the workflow menu or within a campaign, you can start orchestrating the different tasks it performs. To do this, a visual canvas is provided, allowing you to construct a workflow diagram. Within this diagram, you can add various activities and connect them in a sequential order. Horizontal and vertical scroll bars are displayed around the canvas, letting you navigate large workflows by dragging directly to the area you want to view.

Add activities add

At this stage of the configuration, the diagram is displayed with a start icon, representing the beginning of your workflow. To add your first activity, click the + button connected to the start icon.

A list of activities that can be added to the diagram appears. The available activities depend on your position within the workflow diagram. For example, when adding your first activity, you can start your workflow by targeting an audience, splitting the workflow path, or setting a Wait activity to delay the workflow execution. After a Build audience activity, you can refine your target with targeting activities, send a delivery to your audience with channel activities, or organize the workflow process with flow control activities.

Workflow start icon and activity options {modal="regular"}

Once an activity is added to the diagram, a right pane appears, allowing you to configure the newly added activity with specific settings. Detailed information on how to configure each activity is available in this section.

Activity configuration panel {modal="regular"}

Repeat this process to add as many activities as needed, depending on the tasks your workflow performs. You can also insert a new activity between two activities. To do this, click the + button on the transition between the activities, select the desired activity, and configure it in the right pane.

To remove an activity, select it in the canvas and click the Delete icon in the activity properties. See Delete and disconnect activities for the available options.

TIP
You can personalize the name of the transitions between each activity. To do this, select the transition and change its label in the right pane.

The toolbar toolbar

The toolbar, located in the upper-right corner of the canvas, provides options to easily manipulate the activities and navigate in the canvas.

  • Multiple selection mode: Select multiple activities to delete them all at once or copy and paste them. See this section.
  • Add branch: Click the + button in the toolbar to create a separate execution branch on the canvas. The result is equivalent to using a Fork for parallel paths, but the diagram is graphically clearer.
  • Rotate: Switch the canvas vertically.
  • Fit to screen: Adapt the canvas zoom level to your screen.
  • Zoom out / Zoom in: Zoom out or in the canvas.
  • Display map: Open a snapshot of the canvas showing your location.

Toolbar options for workflow canvas {width="50%" modal="regular"}

Manage activities manage

When adding activities, action buttons are available in the properties pane, allowing you to perform multiple operations.

Activity action buttons {modal="regular"}

You can:

  • Delete the activity from the canvas. See this section.
  • Disable/Enable the activity. When the workflow executes, disabled activities and the following activities on the same path are not executed, and the workflow stops.
  • Pause/Resume the activity. When the workflow executes, it pauses at the paused activity. The corresponding task, as well as all those that follow it in the same path, are not executed.
  • Copy the activity. See this section.
  • Move an activity and all its child nodes to another transition. See this section.
  • Access the activity’s Execution options.
  • Access the activity’s Logs and tasks.

Several Targeting activities, such as Combine or Deduplication, allow you to process the remaining population and include it in an additional outbound transition. For example, if you’re using a Split activity, the complement consists of the population that did not match any of the previously defined subsets. To use this capability, activate the Generate complement option.

Split activity with complement option

Move or copy activities move-copy

Copy-paste activities copy

You can copy workflow activities and paste them into any workflow. The destination workflow can be in a different browser tab.

To copy activities, you have two choices:

  • Copy one activity using the action button.

    Copy single activity button {width="70%" modal="regular"}

  • Copy multiple activities using the toolbar button.

    Copy multiple activities button {width="70%" modal="regular"}

To paste the copied activities, click the + button on a transition and select “Paste X activity.”

Paste copied activities option {width="50%" modal="regular"}

Move activities and their child nodes move

Journey Optimizer allows you to move an activity, along with the entire content of its child nodes (including all transitions and activities within it), to the end of another transition within the same workflow.

This process disconnects the activity and everything in its outbound transition from the initial location, moving it to the new target transition.

To move an activity:

  1. Select the activity you want to move.
  2. In the activity’s properties pane, click the Move button.
  3. Select the transition where you want to place the activity and its outbound transition, then confirm.

Move activity and child nodes

Delete and disconnect activities delete

Delete an activity delete-activity

To delete an activity, select it in the canvas and click the Delete icon in the activity properties. A confirmation dialog appears.

  • If the activity is not connected to any other activity, confirm to delete it.

    Delete activity simple

  • If the activity is connected to one or more subsequent activities, choose how to handle them:

    Delete activity multiple

    • Delete all subsequent activities: Removes the activity and every activity that follows it on the same path.
    • Delete only this activity: Removes only the selected activity and reconnects the remaining path. This option is only available when the activity has a single successor.
    • Delete and create a new branch: Removes the selected activity but keeps its subsequent activities, moving them into a new, separate branch.

Click Delete to confirm your choice, or Cancel to close the dialog without deleting anything.

Disconnect a transition disconnect-transition

You can disconnect two activities without deleting either of them. The activities placed after the disconnected transition are not deleted: they are moved into a new, separate branch of the workflow.

This lets you reorganize a workflow diagram, for example to temporarily set aside a group of activities you want to keep, without having to delete and recreate them.

You can do this on a single transition:

  1. Select the transition you want to disconnect.

  2. Click the Disconnect icon in the transition properties.

    Disconnect icon in the transition properties pane

    This icon is only available when the transition leads to a downstream activity. A confirmation dialog appears.

  3. Click Disconnect to confirm, or Cancel to close the dialog without disconnecting anything.

    Disconnect transition confirmation dialog

If the source activity has multiple outbound transitions (for example, a Split activity with several result branches, or a Fork activity), you can remove any one of them individually from the activity’s own properties pane:

  1. Select the activity, then locate the transition you want to remove in the Segment section.

  2. Click the trash icon next to that transition. A confirmation dialog appears.

    Trash icon next to a segment result

  3. Click Remove to confirm, or Cancel to close the dialog without removing anything.

    Remove transition confirmation dialog

Execution options execution

All activities allow you to manage their execution options. Select an activity and click the Execution options button. This lets you define the activity’s execution mode and behavior in case of errors.

Execution options panel {width="70%" modal="regular"}

Properties properties

The Execution field allows you to define the action to carry out when the task starts.

The Maximum execution duration field allows you to specify a duration such as “30s” or “1h.” If the activity is not finished after the specified duration, an alert is triggered. This has no impact on how the workflow functions.

The Time zone field allows you to select the time zone of the activity. Adobe Campaign manages time differences between multiple countries on the same instance. The setting applied is configured when the instance is created.

The Affinity field allows you to force a workflow or a workflow activity to execute on a particular machine. To do this, specify one or several affinities for the workflow or activity in question.

The Behavior field allows you to define the procedure to follow if asynchronous tasks are used.

Error management execution-options

The In case of error field allows you to specify the action to carry out if the activity encounters an error. See this section.

Initialization script initialization-options

The Initialization script lets you initialize variables or modify activity properties. Click the Edit code button and type the snippet of code to execute. The script is called when the activity executes. Refer to the section related to event variables.

Example example

Here is a workflow example designed to send an email to all customers (other than VIP customers) with an email who are interested in coffee machines.

Workflow example diagram {modal="regular"}

To achieve this, the following activities have been added:

  • A Fork activity that divides the workflow into three paths (one for each set of customers),

  • Build audience activities to target the three sets of customers:

    • Customers with an email,
    • Customers belonging to the pre-existing “Interested in Coffee Machine(s)” audience,
    • Customers belonging to the pre-existing “VIP to reward” audience.
  • A Combine activity that groups together customers with an email and those interested in coffee machines,

  • A Combine activity that excludes VIP customers,

  • An Email delivery activity that sends an email to the resulting customers.

Once you complete the workflow, add an End activity at the end of the diagram. This activity visually marks the end of a workflow and has no functional impact.

After successfully designing the workflow diagram, execute the workflow and track the progress of its various tasks. Learn how to start a workflow and monitor its execution.

recommendation-more-help
campaign-web-help-v8