Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Maximum Interaction Data Retention Time

    Posted 09-23-2022 09:55

    Hi,

    I'm trying to activate "Maximum Interaction Data Retention Time", but I get "Data Retention Conflicts"

    Recording Conflicts
    Your organization has existing recordings that exceed your selected interaction data retention timeframe. Change conflicting interaction recording delete dates before setting your selected interaction data retention timeframe.

    So I guess I have recordings in the system without delete dates, but I cannot find them. How do I do this?


    #PlatformAdministration
    #QualityManagement

    ------------------------------
    Hampus Nygren
    ------------------------------


  • 2.  RE: Maximum Interaction Data Retention Time

    GENESYS
    Posted 09-26-2022 13:46
    Hi Hampus,

    The RC article https://help.mypurecloud.com/articles/set-the-maximum-interaction-data-retention-time/, recommends using the Recording bulk job API to update the delete dates of the recordings, to those matched with the conversationQuery.  The Analytics endpoint cannot provide a direct answer by filtering recording's delete date, so it does require you to have a systematic understanding of what recordings are violating retention.

    But if you do not have that understanding, consider using https://developer.genesys.cloud/analyticsdatamanagement/recording/#get-api-v2-recordings-retention-query instead, which provides the list of violating recordings in pages.

    ------------------------------
    Daniel Ho
    Product Line Manager – Recording and Quality Management, Genesys Cloud
    Workforce Engagement Management (WEM)
    ------------------------------



  • 3.  RE: Maximum Interaction Data Retention Time

    Posted 09-27-2022 10:11
    Hi,

    Thank you!

    I will have a look at this.

    ------------------------------
    Hampus Nygren
    ------------------------------



  • 4.  RE: Maximum Interaction Data Retention Time

    Posted 09-28-2022 04:00
    Hi @Daniel Ho

    I have looked that this and the ​POST /api/v2/recording/jobs seem to create a job, that will execute on the actiondate and delete my recordings. So it doesn't update the retention time on the recordings as far as I can see. If I like to keep my recordings for 2 year, I will need to wait 2 year until I can enable  the "Maximum Interaction Data Retention Time" option.




    ------------------------------
    Hampus Nygren
    ------------------------------



  • 5.  RE: Maximum Interaction Data Retention Time
    Best Answer

    GENESYS
    Posted 09-28-2022 07:13
    If you have action=DELETE, the actionDate actually sets the delete date of the recording, so that the recording will be deleted on that date.  And that's how the retention period of the recording is based on -- it's the duration between its creation date and delete date.

    ------------------------------
    Daniel Ho
    Product Line Manager – Recording and Quality Management, Genesys Cloud
    Workforce Engagement Management (WEM)
    ------------------------------



  • 6.  RE: Maximum Interaction Data Retention Time

    Posted 09-28-2022 09:29
    Hi @Daniel Ho

    Great, thank you!

    I have created a job, that would set actiondate as deletedate on 16 chat recordings. I guess that this will run in a near future.

    {
      "id": "97ccf1b3-5506-4770-8d9e-aa7c73a2bd69",
      "state": "READY",
      "recordingJobsQuery": {
        "action": "DELETE",
        "actionDate": "2024-09-28T22:00:00Z",
        "includeScreenRecordings": true,
        "conversationQuery": {
          "segmentFilters": [
            {
              "type": "and",
              "predicates": [
                {
                  "type": "dimension",
                  "dimension": "mediaType",
                  "operator": "matches",
                  "value": "chat"
                }
              ]
            }
          ],
          "interval": "2022-03-01T00:00:00.000Z/2022-03-31T23:59:59.000Z",
          "startOfDayIntervalMatching": false
        }
      },
      "dateCreated": "2022-09-28T13:14:43.950Z",
      "totalConversations": 16,
      "totalRecordings": 16,
      "totalSkippedRecordings": 0,
      "totalFailedRecordings": 0,
      "totalProcessedRecordings": 0,
      "percentProgress": 0,
      "selfUri": "/api/v2/recording/jobs/97ccf1b3-5506-4770-8d9e-aa7c73a2bd69",
      "user": {
        "id": "f5a80710-bcf1-4940-8812-7b44e00c5a45",
        "selfUri": "/api/v2/users/f5a80710-bcf1-4940-8812-7b44e00c5a45"
      }
    }​
    ​​​

    ------------------------------
    Hampus Nygren
    ------------------------------



  • 7.  RE: Maximum Interaction Data Retention Time

    Posted 09-28-2022 10:06
    Hi,

    A follow up on this one, I executed PUT /api/v2/recording/jobs/97ccf1b3-5506-4770-8d9e-aa7c73a2bd69 with

    {
    "state": "PROCESSING"
    }

    Then the job executed and set the deleteDate

    ------------------------------
    Hampus Nygren
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources