From 4bb7cee27180957d7aed45db26606f92518e1349 Mon Sep 17 00:00:00 2001 From: Anna Saiapina Date: Wed, 24 Jul 2024 09:02:33 +0000 Subject: [PATCH] Add check for new Board properties in report --- definitions/staging/stg_calls_report.sqlx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/definitions/staging/stg_calls_report.sqlx b/definitions/staging/stg_calls_report.sqlx index 4d5ab91..8fbad6b 100644 --- a/definitions/staging/stg_calls_report.sqlx +++ b/definitions/staging/stg_calls_report.sqlx @@ -6,7 +6,10 @@ config { uniqueKey: ["SESSION_ID", "TIMESTAMP", "DNIS"], nonNull: ["SESSION_ID", "TIMESTAMP", "DNIS", "AGENT_GROUP_ID", "DISPOSITION_ID", "DISPOSITION_GROUP_ID", "DISPOSITION_GROUP", "CAMPAIGN_ID", "CAMPAIGN_GROUP_ID", - "CAMPAIGN_GROUP", "SKILL_ID"] + "CAMPAIGN_GROUP", "SKILL_ID"], + rowConditions: [ + 'BOARD_PROPERTY_GROUP = "ADD"' + ] }, tags: ["calls_report"], description: "Main calls data for report"