" /> old interactions are not archived and cleaned up properly / In GENMCR and GENMCA - Genesys CTI User Forum

Author Topic: old interactions are not archived and cleaned up properly / In GENMCR and GENMCA  (Read 2776 times)

Offline C_Genesys

  • Newbie
  • *
  • Posts: 40
  • Karma: 0
Advertisement
The interactions older than 6 months should be archived/moved to GENMCA database and purged after 7 uyears from archived DB.


If we run the following SQL statement on GENMCR we can see the interactions from 2011
SELECT * from interaction where startdate <TO_DATE('30/APR/2015','dd/mon/yyyy') order by startdate;


! Old interactions count in GENMCR is : 5,655,621
SELECT count(*) from interaction where startdate <TO_DATE('30/APR/2015','dd/mon/yyyy');


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
So?
Maybe they are still in open state. Your Strategies probably didn't ended them.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
All interactions within particular thread must meet following conditions:

[list]
[li]Must be stopped (attribute [UCS_DB].Interaction.Status=3)[/li]
[li]Interaction processing must be finished (attribute [UCS_DB].Interaction.EndDate must not be NULL)[/li]
[li]Interaction attribute [UCS_DB].Interaction.EndDate must be earlier (older) than the selected time limit for pruning/archiving[/li]
[/list]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
[quote author=chetanentc link=topic=9684.msg43819#msg43819 date=1466751454]
Hi,

They are already ended . What could be the the another issue ??
[/quote]
When you say they are finished you say because you business rules or because DB property. I talk, as Kubig says, about a flag on the DB. If your callflow has no control points then they won't be considered as closed.


Enviado de meu E6633 usando Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Need to check you strategies and see any loop around. On those interactions check which queue they are right now.

Enviado de meu E6633 usando Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Then check that strategy on that queue, there must be something not controlled. Check URS logs, IXN logs. You need to do your detective work there.

Enviado de meu E6633 usando Tapatalk