Skip to main content
Answer

Clean Jobs

  • June 2, 2023
  • 3 replies
  • 42 views

Blommetje
Forum|alt.badge.img+13

Hi, 

Is there a way to clean the Jobs from the SF? 

Yesterday we had an issue where the ‘sync to iam’ did not react cause there was ‘already an active or scheduled job’. However, this was nowhere to be found. Cleanup of these records (same with merging sessions) is nice. 

Perhaps a ‘cleanup’ task - where we clean these tables, invalidate caches, etc.?

 

Alex

 

Best answer by Mark Jongeling

Hi Alex,

In 2023.1, jobs are automatically cleaned up by a system flow of the Software Factory. It does require the Job retention setting to be filled in the Configuration screen of the Software Factory. In here, you can specify for instance 14, and that will mean jobs older than 14 days will be automatically cleaned up.

SF > Maintenance > Configuration

 

This topic has been closed for replies.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • June 2, 2023

Hi Alex,

In 2023.1, jobs are automatically cleaned up by a system flow of the Software Factory. It does require the Job retention setting to be filled in the Configuration screen of the Software Factory. In here, you can specify for instance 14, and that will mean jobs older than 14 days will be automatically cleaned up.

SF > Maintenance > Configuration

 


Blommetje
Forum|alt.badge.img+13
  • Author
  • Partner
  • June 2, 2023

Thnx! Job retention was empty, so I expect things to cleanup from now. 


Mark Jongeling
Administrator
Forum|alt.badge.img+23

You can send a request to Indicium to start the system flow immediately. With a POST request to https://[server]/indicium/iam/sf/system_flow_clean_job_data with empty body, the system flow will be initiated.

Else the system flow will start at 20:00 UTC as long as no one turned off the schedule of course 😉