Skip to content

Commit

Permalink
Update filter logic for 1 RT
Browse files Browse the repository at this point in the history
  • Loading branch information
amorimluzia committed Oct 23, 2024
1 parent 1af4254 commit c06e688
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Email Address Added Retail",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true",
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && (#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true)",
"deliveryOptions": [
{
"channel": "email",
Expand All @@ -35,7 +35,7 @@
"name": "Email Address Added Business",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true",
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && (#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true)",
"deliveryOptions": [
{
"channel": "email",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Email Address Deleted",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true",
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && (#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true)",
"deliveryOptions": [
{
"channel": "email",
Expand All @@ -35,7 +35,7 @@
"name": "Email Address Deleted Business",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true",
"additionalFilterLogic": "#triggeredEvent['previousContactEmail'] != null && (#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true)",
"deliveryOptions": [
{
"channel": "email",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"name": "New Message Received From Customer Support Retail",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true && !(#triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement')",
"additionalFilterLogic": "(#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true) && !(#triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement')",
"deliveryOptions": [
{
"channel": "in-app-notification",
Expand Down Expand Up @@ -53,7 +53,7 @@
"name": "New Message Received From Marketer Retail",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true && #triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement'",
"additionalFilterLogic": "(#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true) && #triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement'",
"deliveryOptions": [
{
"channel": "in-app-notification",
Expand All @@ -79,7 +79,7 @@
"name": "New Message Received From Customer Support Business",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true && !(#triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement')",
"additionalFilterLogic": "(#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true) && !(#triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement')",
"deliveryOptions": [
{
"channel": "in-app-notification",
Expand Down Expand Up @@ -122,7 +122,7 @@
"name": "New Message Received From Marketer Business",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true && #triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement'",
"additionalFilterLogic": "(#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true) && #triggeredEvent['origin'] != null && #triggeredEvent['origin'] == 'engagement'",
"deliveryOptions": [
{
"channel": "in-app-notification",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"name": "Update Email Address",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['primaryEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true",
"additionalFilterLogic": "#triggeredEvent['primaryEmail'] != null && (#lineOfBusiness != null ? #lineOfBusiness == 'RETAIL' : true)",
"deliveryOptions": [
{
"channel": "email",
Expand All @@ -35,7 +35,7 @@
"name": "Update Email Address Business",
"userPreferenceEnabled": false,
"manageable": false,
"additionalFilterLogic": "#triggeredEvent['primaryEmail'] != null && #lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true",
"additionalFilterLogic": "#triggeredEvent['primaryEmail'] != null && (#lineOfBusiness != null ? #lineOfBusiness == 'BUSINESS' : true)",
"deliveryOptions": [
{
"channel": "email",
Expand Down

0 comments on commit c06e688

Please sign in to comment.