Skip to main content
Solved

DOCUMENT_TICKET_TEMP_PATH clean up

  • March 5, 2023
  • 4 replies
  • 402 views

Forum|alt.badge.img+11

Does anyone (I am looking at @Mathias Dahl  😁 here) know whether files in the app server are deleted / cleaned up on a regular basis.

 The app server file path is defined under DOCUMENT_TICKET_TEMP_PATH of “document default values”

 


Reason for questioning this is, I’ve written an event action based on PDF_REPORT_CREATED job to unpack documents connected to a Purchase Order / Line and email it as an attachment to along with the purchase order. I don’t want the system to clog up by storing temp files in the App Server.
Thanks in Advance! Malik

 

Best answer by Amila Samarasinghe

Hi @malik.sally 

Temporary tickets are deleted from DOCUMENT_TICKET_TEMP_PATH once after it is used, so that no ticket backlog will be created. But if in any case there are documents remains in DOCUMENT_TICKET_TEMP_PATH, then you can schedule a database task with method "delete_old_tickets" in the "batch_transfer_handler_api" and provide the parameter SCHEDULED_HOURS [SCHEDULED_HOURS is a parameter to distinguish the tickets to be deleted. So all the tickets older than the scheduled hours will get deleted]

 

Thanks and Regards,

4 replies

Amila Samarasinghe
Superhero (Partner)
Forum|alt.badge.img+14
  • Superhero (Partner)
  • 191 replies
  • Answer
  • March 6, 2023

Hi @malik.sally 

Temporary tickets are deleted from DOCUMENT_TICKET_TEMP_PATH once after it is used, so that no ticket backlog will be created. But if in any case there are documents remains in DOCUMENT_TICKET_TEMP_PATH, then you can schedule a database task with method "delete_old_tickets" in the "batch_transfer_handler_api" and provide the parameter SCHEDULED_HOURS [SCHEDULED_HOURS is a parameter to distinguish the tickets to be deleted. So all the tickets older than the scheduled hours will get deleted]

 

Thanks and Regards,


Forum|alt.badge.img+11
  • Author
  • Hero (Partner)
  • 233 replies
  • March 8, 2023

Thanks @Amila Samarasinghe for your quick response. This helps.


Forum|alt.badge.img+6
  • Sidekick (Partner)
  • 18 replies
  • November 17, 2025

@Amila Samarasinghe 

Database task with method "delete_old_tickets" in the "batch_transfer_handler_api" is no longer supported in IFS Cloud (24R2 ?).

ORA-20105: PlsqlapServer.Procedure Invoke_Record_Impersonate is not supported 

How to handle this in IFS Cloud ?


Forum|alt.badge.img+11
  • Author
  • Hero (Partner)
  • 233 replies
  • November 17, 2025

@Thomas Langenberg The Apps 10 method removes files from the middleware server. In Cloud the Middleware server is a linux black box and nothing gets saved as per my understanding, so that database task is obsolete.