Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Adding an association with a customer ID

Updated on April 5, 2022

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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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