Business Process Automation

Long Running Task Cleanup

This page is accessed via Business Process Automation > Process Management > Long Running Task Cleanup.

This allows you to schedule or immediately run a cleanup of long running task records. It removes all records older than a given threshold, belonging to a given state. You might want to have this scheduled to run periodically to remove completed tasks.

Cleaning Up Long Running Tasks

  1. Enter the required number of days (D), hours (H), and minutes (M) in the Older Than section. Records older than the mentioned duration will be considered for removal. Records for long running tasks older than that time range, which are not running, will be removed. The tasks that are removed depend up on the task states you select.
  2. Select the Task States to be removed. Only the selected task states will be purged.
  3. If you are running cluster scalability, specify a cluster to which this request should be assigned.
  4. Enter a User Role. When you run, publish, or schedule a recurring process, you can specify the user role used to perform the process, just like when you run agents. The user role can be used to specify a separate VPD role or another domain to run the agent. When a recurring process is modified, the user role of the recurring process can be modified as well.
  5. Select a Log Profile to generate focused logging when reproducing an error for the specific action. You cannot select a log profile when you choose to schedule a process, as automatic generation of action logs is not supported.
  6. Select Execute, Publish, or Schedule to determine when the process will be executed.
  7. Click Submit.

Related Topics