Issue with Denying Long-Pending Work Items

Hi All,

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?

Thanks!

Here are a couple of options:

  1. 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

  1. 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.

Delete all objects

delete WorkflowCase *

Delete a specific object by name

delete WorkflowCase “My WorkflowCase Name”

Hello @vishal_kejriwal1

Thank you for the update.

Just want to understand the reason of the error what i was getting.

Thanks,

it could be because of multiple reason

  1. Workitem with no expiry
  2. Workitem struck and not cleanedup
  3. Could be generated from different workflow ( Entitlement update , Role model , LCM Provisioning etc .)

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.