Overview

This tutorial explains how to configure:

  • Rule for creating CTAs when there is a change in sponsor attributes (company, location, or title)
  • Rule for creating CTAs that prompts you to delete a sponsor if the sponsor is deleted from SponsorTracking::Contact or SponsorTracking::RelationshipContact.

See Also:

Assumptions

  • A Relationship Type is already configured. This tutorial uses “PaaS” (Platform as a Service) as an example.

Rule for Tracking Sponsor Attribute Changes

To create a rule for sponsor tracking that triggers a CTA whenever there is a change in sponsor attributes:

  1. Under Edit Rule, enter or select the following details:
    • Rule Type: Select Custom.
    • Rule For: Select Relationship.
    • Rule Name: Enter the rule name. For example. Standard Sponsor Tracking Rule for PaaS.
    • Relationship Type: Select the Relationship Type. For example, PaaS.
    • Description: Enter description, if any.
a7b579c5-f2f2-4293-9270-fe5b3750308b.png
  1. Click NEXT.
  2. Under Setup Rule, drag-and-drop the following fields from the

RelationshipSponsorTrackingHistory object in the Show section:

  • RelationshipSponsorTrackingHistory::Relationship (This field will be available by default)
  • RelationshipSponsorTrackingHistory::Relationship Name
  • RelationshipSponsorTrackingHistory::ChangedAttribute
  • RelationshipSponsorTrackingHistory::NewValue
  • RelationshipSponsorTrackingHistory::PreviousValue
  • RelationshipSponsorTrackingHistory::Contact Name
fb6303f6-0933-4c1d-a9f7-00d14460a464.png
  1. Drag-and-drop the following fields in the Filters section.
    • GS Relationship::Relationship Type (This field and its value are available by default after you select the relationship type in step 1.)
    • RelationshipSponsorTrackingHistory::ChangedAttribute - equals - company.
    • RelationshipSponsorTrackingHistory::ChangedAttribute | equals | location.
    • RelationshipSponsorTrackingHistory::ChangedAttribute | equals | title.
    • RelationshipSponsorTrackingHistory::Created Date | greater or equal | Add N Days to Rule Date | -1.
    • RelationshipSponsorTrackingHistory::Created Date | less than | Rule Date.
b4fb7c02-cfeb-43e4-ba8d-df9918438190.png
  1. Modify the Advanced Logic to A AND (B OR C OR D) AND E AND F.
ad9246c1-b135-4ccf-a925-43214999b979.png
  1. Click NEXT.
  2. Under Setup Action, enter or select the following details:
    • Action Type: select Call To Action.
    • Priority: select High.
    • Type: select Risk.
    • Status: select New.
    • Playbook: select a playbook if you already have one for sponsor tracking related changes.
    • Reason: select Sponsor Change.
    • Owner Field: select the owner for the CTA being created.
    • Due Date: Run Date + 5 Days.
    • Default Owner: enter a default owner.
a2870b86-87a5-445e-81a1-19fa22ddcf41.png
  • Post update to chatter: select Always.
  • Post update to comments: select Once.
  • Comments: enter <${RelationshipSponsorTrackingHistory::Contact Name}> has changed <${RelationshipSponsorTrackingHistory::ChangedAttribute}> from <${RelationshipSponsorTrackingHistory::PreviousValue}> to <${RelationshipSponsorTrackingHistory::NewValue}>.

Note: Type @ to see the token values for Comments.

212b3310-7c5b-4ab6-b382-a8764a2f64eb.png
  1. Click SAVE.

Rule for Tracking Sponsors to be Deleted

Similar to Rule for Tracking Sponsor Attribute Changes, you can configure a rule for tracking sponsors that are to be deleted.

  1. Under Setup Rule, drag-and-drop the following fields in the Show section.
    • SponsorTracking::GSRelationship (This field is available by default as you select the relationship type while creating the rule)
    • SponsorTracking::SponsorFullName
    • SponsorTracking::Account
    • SponsorTracking::GSRelationshipName
    • Account::Created By ID Name
    • SponsorTracking::Account Name
5b4f05d5-3cd8-4e36-9554-67be46c397e6.png
  1. Drag-and-drop the following fields in the Filters section:
    • GS Relationship::Relationship Type. (This field is available by default after you select the relationship type while configuring the rule.)
    • SponsorTracking::Contact | equals | NULL.
    • SponsorTracking::Last Modified Date | greater or equal | Add N Days to Rule Date | -1.
    • SponsorTracking::RelationshipContact | equals | NULL.
780bb4fb-7119-417c-8449-b8ebcdd53d64.png
  1. Modify the Advanced Logic to A AND C AND (B OR D).
d1320d39-c2af-4d9d-a91a-8a63ce9c704f.png
  1. Click NEXT.
  2. Under Setup Action, enter or select the following details:
    • Action Type: select Call To Action.
    • Priority: select High.
    • Type: select Risk.
    • Status: select New.
    • Playbook: select a playbook if you already have one for sponsor tracking related changes.
    • Reason: select Sponsor Change.
    • Owner Field: select the owner for the CTA being created.
    • Due Date: Run Date + 1 Days.
    • Default Owner: enter a default owner.
e91b8b6d-b1e9-4a21-ad2d-7ff5cb6a51d9.png
  • Post update to chatter: select Always.
  • Post update to comments: select Once.
  • Comments: enter The contact <${SponsorTracking::SponsorFullName}> of Relationship <${SponsorTracking::GSRelationship Name}> has been deleted.

Note: Type @ to see the token values for Comments.

8f72a32e-e9e0-438e-8ae5-1280f91c6330.png
  1. Click SAVE.