Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Delete Multiple Fields in a Data Table

    Posted 06-23-2021 02:20
    hi all,
    just need to check if it is possible or if there is a API to perform the below?

    I am using Architech to create a entry into a Data Table for certain customers who calls in [Key = ANI; Date = date and time of call]
    what i am looking for is, due to Data Table limitation "The number of data rows allowed in a single table is 5000.", is to delete all entries where date is => 2 days.

    This will be used to identify repeat callers, so if the caller calls back for a second time and the ANI exist within the Data Table, i can then delete that entry.
    the issue is that if a caller does not call in a second time in a certain timeframe, i need to delete the entries => 2 days old to ensure i don't exceed the 5000 limitation.

    so basically i am looking for something similar to SQL script:

    Delete *
    Where X => Y
    #ArchitectureandDesign

    ------------------------------
    Reginald Sheraton
    ------------------------------


  • 2.  RE: Delete Multiple Fields in a Data Table

    Posted 06-23-2021 07:07
    Hi all,
    just an update on this.
    I managed to resolve by running a API as a APP outside Architech which will run every hour on the hour to:
    1. Get all entries in Data Table
    2. Delete all entries where the date meets my criteria, older than a day


    ------------------------------
    Reginald Sheraton
    ------------------------------



Need Help finding something?

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