Skip to content

Configure work package loader data cleanup activities

The AD Chain Cleanup Workscope Loader database task chain, predefined in the installation script, deletes transactions in the external file tables and records from intermediate processing tables, to prevent data piling up in the database.

Modify database chain schedule

The database task chain is scheduled to run once a month, on the 1st day of every month, at 12 am. If required, you can change the database chain schedule as follows:

  1. In the IFS Aurena navigator, navigate to Solution Manager/Background Processing/Scheduled Tasks and open the Database Task Chain Schedule page.
  2. Search for the database task chain schedule by name, AD Chain Cleanup Workscope Loader.
  3. Click Edit.
  4. Change values for the fields in the Schedule section as required.
  5. Click Save.

If you are unable to view the database task chain schedule to edit, you must:

  1. Navigate to Solution Manager/Users and Permissions/Permission Sets/Database Task and Chain Grants and open the Database Task Chains page.
  2. For the AD Chain Cleanup Workscope Loader database chain task, on the Permission Sets tab, in the Permission sets not granting section, filter by your role (permission set) that you want to grant access to.
  3. Select the role and click Grant.
  4. Open the Permission Set page and search for the permission set you just granted access to.
  5. In the Permission Set navigator, click Show more and click System Privileges.
  6. In the Granted System Privileges section, click Add and add the Administrator system privilege.

Modify removal schedule for external file transactions

The period after which transactions for the external file tables must be deleted is predefined as 30 days. If required, you can change the value for number of days after which the transactions in the external file tables is deleted, as follows:

  1. In the IFS Aurena navigator, navigate to Accounting Rules/External File/Basic Data and open the External File Template page.
  2. Locate the FLMWORKSCOPE file template.
  3. Click on the Input Files tab and click Edit.
  4. In the Remove Transaction Options section, in the Remove Days field enter the required number of days after which transactions must be deleted from the external file tables.

Configure event actions for cleanup job notification

When the cleanup job is run, an event action can be configured to notify you of the same.

  1. Navigate to Solution Manager/Configuration/Events and open the New Event Action assistant.
  2. Select an event action type that you require, such as Application Message or E-Mail, and in the Perform upon Event field enter and select the BACKGROUND_JOB_IS_PROCESSED event.
  3. Enter an action description as required.
  4. In the Conditions section, select Edit.
  5. For the condition by name STATE, in the Condition field select "=" and in the Value field enter and select "Ready".
  6. For the condition by name DESCRIPTION, in the Condition field select "LIKE" and in the Value field enter and select "AD Chain Cleanup Workscope Loader".
  7. Click Next.
  8. In the To User field, enter and select the identity of your user to whom the message notification must be sent.
  9. In the Subject field, enter the subject of the message to be sent.
  10. Click Next.
  11. Toggle Enable Event Action to On.
  12. Click Finish. Once the background job has been executed, you will be notified via a notification.