I was working on a clean-up activity for long-pending work items that are older than six months. However, when I click the Deny button, I receive a pop-up with an incident code.
Upon checking the syslog, I found the following error message:
From my understanding, this error occurs because the task is no longer available?, but the task results not there in task result. Could someone confirm if my understanding is correct or suggest a possible resolution?
Use the iiq console “reject” or “approve” commands to either approve or reject an individual WorkItem (it would be better to reject in order to avoid any unwanted provisioning). In your case, since you have so many, you would have to create a text file with one row with the object ID of each item to reject:
For example:
reject 12345
reject 10938
reject 37438
and then use the iiq console “source” command to execute all commands in the text file:
source C:\Vishal\MyRejectFile.txt
Use the iiq console “delete” command to delete open WorkflowCase objects. You should have one WorkflowCase object for each Workflow that generated the Workitems you need to remove. By deleting the WorkflowCase, the Workitem is also deleted. Be careful, as this will delete all open WorkflowCases. You can also delete specific WorkflowCase objects by name.