balamurugan.dhesingu | 2024-02-18 17:52:34 UTC | #1
Hi All,
Need help with recording policy update for old interactions.
Our existing recording policy is have only “Archive recordings after” x years, now we have modified that recording policy to include “Delete recordings after” x years. As this change in policy will applicable for only the new interactions recorded post the policy change. Question: Need help on how to set the delete date for those interactions stored without delete date under the same policy. Please suggest.
Regards, Bala
SimonBrown | 2024-02-19 16:25:14 UTC | #2
You can do this through API calls. Not sure if there is anything in UI to support this. If using APIs you can specify an actionDate in the Query JSON for the recording Job.
Double check schema though, I have only ever set date to current date as I wrote powershell script to delete recordings immediately. Property name implies you can set to future. Not sure about dates in past, suggest a trial query that selects controlled sample interactions.
balamurugan.dhesingu | 2024-02-29 13:12:10 UTC | #3
Hi Simon,
One more query, to perform this action, eventually we will need the interaction IDs of all the old recordings correct or can it be performed based on Queue?
Regards, Bala
SimonBrown | 2024-02-29 13:37:47 UTC | #4
The API requires the query which determines the interactions that will be selected. You need to look at the query and form it based on your needs.
The segment part has Dimension where QueueId can be selected.
You need to form your query from POST request to /api/v2/analytics/conversations/details/query API explorer for endpoint
system | 2024-03-31 13:38:15 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 24713