We have nintex workflow which has state machine approval process, after some approval s document moves from one library to another library. It creates task for every approval which gets created in custom task list. We want all tasks for auditing purposes.
But issue is those old tasks (older than 2 months) are not present in task list. So how older tasks got deleted? Is there any way to retrieve deleted tasks?
On same site we have another workflow which has also approval process (not the state machine). In this also document moves from one to other library after approval. All tasks get created in custom task list only. Here we have older tasks as well which got complete 7-8 months as well.
So in which scenario tasks gets deleted from task list and in which scenario task will not get deleted from task list.
Can you please help regarding this.
Thanks and regards,
Workflow History is set to 30/60 days by default.
You can disable this:
If you go to CA>Monitoring
Review Job Definitions
Select - Workflow Auto Cleaup
and disable this
Thank you for your reply.
But the problem here is that if its SP behavior then it should be same for all task list. But it is not same. Below are my two scenarios
1) Task items got deleted in below scenario
I am using state machine approval process for one document library. It create tasks for every approval in custom task list. After 3 approvals document gets copied from this library to another. and item gets deleted from current library. In this case we observed that older tasks(more that month) got deleted.
2) Tasks not deleted from task list in below scenario
I am using simple one level approval process for one document library. It create task for approval in custom task list. After this approval document directly moves from this library to another library. In this case we observed that older tasks(almost for 7 to 8 months) are still present
Also task lists are same. So what might be reason behind this... as from one task list items deleted and from other not deleted. its SP behaviors then it should be same for all tasks. but it is not the case.
Can you please help on this.
Thanks & Regards
Tata Consultancy Services Limited
I'm having a similar issue with a Task List. It is only showing 3 task that were created from a workflow on another list, where there should be a lot more. I have other list that creates task in a list and they have not disappeared.
Not sure why some have task from as far back at 2017 and then on this particular list is only has 2019.