Skip to main content

 –

Adding an association with a customer ID

Suggest edit Updated on March 11, 2021

Use the Call instruction with the Data-Decision-IH-Association.pySaveAssociation activity to associate IDs that are generated by external interactions through different channels and devices with a known customer ID.

  1. Create an instance of the Activity rule in the Dev Studio navigation panel by clicking RecordsTechnicalActivity.
  2. In the activity steps, enter the Call Data-Decision-IH-Association.pySaveAssociation method.
  3. Click the arrow to the left of the Method field to expand the method and specify its parameters:
    • Subject ID that represents the customer ID.

    • Association ID that represents the ID that was captured in anonymous interactions.

      Anonymous interactions can be customers' visits to a website without logging into it. Such interactions are tracked by cookie files that help to identify each customer when they log in with their known IDs (Subject IDs).

    • Association strength - A numeric value that can be used to establish the weight, match confidence, or relevance of the association for filtering purposes. In strategies, you can implement association strength-based filtering by adding Filter components to define logic that applies to the input data passed by Interaction history or Proposition components.

  4. Click Save.
What to do next:

This method creates two records: one record where the subject ID is determined by the SubjectID parameter and the associated ID determined by the AssociatedID parameter, and a second record where the subject ID is determined by the AssociatedID parameter and the associated ID determined by the SubjectID parameter. The same association strength value is applied to both records.

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us