Problem: Nintex Workflow tasks displays : * Item Not found error!
Cause: Workflows are initiated and items in which workflows ran, are deleted by end-user. When I tried terminating the workflows, it gave "Server was unable to process the request --> Values does not fall within the expected range." error message! When I tried opening workflow task, got "Value does not fall within the expected range" Error!!
Solution: Use NWAdmin tool to terminate the tasks for deleted items. Here is how:
Go to command prompt,
CD "C:\Program Files (x86)\Nintex\Nintex Workflow 2007"
NWAdmin -o SyncTerminatedWorkflows -url https://sharepoint.company.com/finance/v3 -terminatedeleteditems
So, to avoid such issues, always terminate the workflow and then delete the items. Item not found may also occur when user doesn't has at least read access on the item!
Cause: Workflows are initiated and items in which workflows ran, are deleted by end-user. When I tried terminating the workflows, it gave "Server was unable to process the request --> Values does not fall within the expected range." error message! When I tried opening workflow task, got "Value does not fall within the expected range" Error!!
Solution: Use NWAdmin tool to terminate the tasks for deleted items. Here is how:
Go to command prompt,
CD "C:\Program Files (x86)\Nintex\Nintex Workflow 2007"
NWAdmin -o SyncTerminatedWorkflows -url https://sharepoint.company.com/finance/v3 -terminatedeleteditems
So, to avoid such issues, always terminate the workflow and then delete the items. Item not found may also occur when user doesn't has at least read access on the item!