About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
When to run it
When to run it
When completed tasks have built up and you no longer need to look back at them.
How often
As a recurring batch job, or on demand.
Batch settings
Recurring batch job with the retention days that suit your follow-up.
What the output shows
No report. Completed tasks older than the Retention days are deleted. Open tasks are kept.
PrivilegeMaintain Teams IntegrationRetailTeamsIntegrationMaintain
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itRetail service RetailServiceRetail operations manager RetailOperationsManagerRetail store manager RetailStoreManagerRetail store IT RetailStoreITRetail task manager RetailTaskManagerGive people one of these roles. On this system, 5 roles can run this page.Checked in Dynamics 365
Load order: Cleanup completed tasks has no data entity in Data management, so it can't be loaded from a file or a configuration template. The job only deletes tasks already in the system; there is nothing to load.Checked in Dynamics 365