Skip to Content

Harmony Constant Contact Query Activity

Introduction

A Constant Contact query activity retrieves contacts from a Constant Contact connection and is used as a source in an operation. After configuring a Constant Contact connection, you can configure as many Constant Contact activities as you like for each Constant Contact connection.

Create a Constant Contact Activity

An instance of an activity is created from a connection using an activity type.

To create an instance of an activity, drag the activity type to the design canvas or copy the activity type and paste it on the design canvas. For details, see Creating an Activity Instance in Component Reuse.

An existing activity can be edited from these locations:

Accessing Menu Actions

Menu actions for an activity are accessible from the project pane and the design canvas. For details, see Activity Actions Menu in Connector Basics.

Configure a Constant Contact Query Activity

Follow these steps to configure a Constant Contact query activity:

Step 1: Enter Basic Information

Connections tab

Tip

Fields with a variable icon Variable icon support using global variables, project variables, and Jitterbit variables. Begin typing an open square bracket [ into the field or click the variable icon to display existing variables to choose from.

Note

Contacts can be fetched by using either Email Address For Finding The Contact or Status Type.

  • Name: Enter a name to use to identify the Constant Contact query activity. The name must be unique for each query activity and must not contain forward slashes (/) or colons (:).

  • Email Address for Finding the Contact: Enter a valid email address. This is an optional field.

  • Status Type: Specify the status type to be used in the query. By default it is ALL.

  • Limit: Set the limit on the number of contacts to be returned. If not set, by default it is 50.

  • Save & Exit: If enabled, click to save the configuration for this step and close the activity configuration.

  • Next: Click to temporarily store the configuration for this step and continue to the next step. The configuration will not be saved until you click the Finished button on the last step.

  • Discard Changes: After making changes, click Discard Changes to close the configuration without saving changes made to any step. A message will ask you to confirm that you want to discard changes.

Step 2: Review Data Schema

Connections tab

  • Data Schema: The response data schema for Constant Contact will be displayed. If the operation uses a transformation, the data schemas will be displayed again later during the transformation mapping process, where you can map to target fields using source objects, scripts, variables, custom values, and more.

The Constant Contact connector uses the Constant Contact Java SDK. Refer to the SDK for information on the fields used in the request and response schemas.

  • Add Plugin(s): Plugins are Jitterbit- or user-provided applications that extend Harmony's native capabilities. To apply a plugin to the activity, click to expand this section and select the checkbox next to the plugin to be used. For additional instructions on using plugins, including details on setting any required variables used by the plugin, see Plugins Added to an Activity.

  • Refresh: Click the refresh icon Refresh icon or the word Refresh to regenerate schemas from the endpoint. This action also regenerates the schema in other locations throughout the project where the same schema is referenced, such as in an adjacent transformation.

  • Back: Click to temporarily store the configuration for this step and return to the previous step.

  • Finished: Click to save the configuration for all steps and close the activity configuration.

  • Discard Changes: After making changes, click Discard Changes to close the configuration without saving changes made to any step. A message will ask you to confirm that you want to discard changes.

Next Steps

After configuring a Constant Contact query activity, complete the configuration of the operation by adding and configuring other activities, transformations, or scripts as operation steps. You can also configure an operation's operation settings, which include the ability to chain operations together that are in the same or different workflows.

Constant Contact query activities can be used as a source with these operation patterns: - Transformation Pattern - Two-target Archive Pattern (as the first source only) - Two-target HTTP Archive Pattern (as the first source only) - Two-transformation Pattern (as the first or second source)

Other patterns are not valid using Constant Contact query activities. See the validation patterns on the Operation Validity page.

To use the activity with scripting functions, write the data to a temporary location and then use that temporary location in the scripting function.

When ready, deploy and run the operation and validate behavior by checking the operation logs.