Accelerate the Value of Data

Configure SNS Subscription policy

Learn how to configure the SNS subscription policy before installing recipes.

By now, you must have installed the RIH Solution package. For more information, see topic Install the RIH Solution package.
Each recipe that uses an AWS SNS trigger must have its own SNS subscription policy attached. The SNS subscription policy filters unwanted event messages from the AWS SNS, thus preventing them from reaching the Workato trigger. Here's a sample subscription policy for the SFDC|TRG|Real Time Sync from Reltio to Salesforce - Organization recipe:
{
  "object": {
    "type": [
      "configuration/entityTypes/Organization"
    ]
  },
  "$or": [
    {
      "type": [
        "ENTITY_CREATED"
      ],
      "object": {
        "createdBy": [
          {
            "anything-but": "serviceaccount"
          }
        ]
      }
    },
    {
      "type": [
        "ENTITY_CHANGED",
        "ENTITY_REMOVED",
        "ENTITY_LOST_MERGE"
      ],
      "object": {
        "updatedBy": [
          {
            "anything-but": "serviceaccount"
          }
        ]
      }
    }
  ]
}
To configure the SNS Subscription policy:
  1. Log in to your Salesforce account.
  2. From the SFDC folder, select the recipe.
  3. Stop the recipe.
  4. Edit the recipe.
  5. Select Step 1.
  6. Select Advanced settings > Subscription filter policy.
  7. In the Filter policy JSON section, replace the value serviceaccount with your Reltio service account username.
  8. Start the recipe.