Skip to main content
Known Participant
July 27, 2023
Question

Automated Expression Rule Test Results Cleanup

  • July 27, 2023
  • 3 replies
  • 0 views

For the automated expression rule testing, currently test results expire after 7 days (as mentioned in the documentation for function a!testRunResultForId). Is this a configuration that can be changed? We can to decrease the retention period to perform an aggressive clean up for this data. 

3 replies

stefanhelzle0001
July 27, 2023

What is your use case?

Known Participant
July 27, 2023

We have integrated the automated rule testing in our devops build pipeline. For all tests to run it is taking over 45 mins now, which was earlier under 10 mins. We noticed from db monitoring that queries to test_result table are taking more time due to increased rows in test result table (has over 100k rows). 

We basically want to bring down the overall test execution time by purging data from the test result table.

stefanhelzle0001
July 27, 2023

I suggest to contact Appian to sort this out.