Removing K2 Worklist Items

rated by 0 users
This post has 5 Replies | 3 Followers

Top 500 Contributor
Posts 13
Points 59
Fan Posted: Thu, Jul 2 2009 6:26 PM

I have been trying to remove worklist items. While trying to "action" on each item, it throws error says: An unexpected error occured, please review the following information:

Title: System Exception

Type: Runtime - Perform Action

Description: Process instance is in an error state

Can I remove those items from database since they keep on adding in the worklist? Please help...thanks

  • | Post Points: 4
Top 10 Contributor
Posts 336
Points 992
dc replied on Thu, Jul 2 2009 7:33 PM

The error you are seeing is by design, users cannot action items from a process that is in error state. You need to repair the error first.

Second part, yes, you can delete process instances from Management Console, but your best bet is to address the root of the problem first. The K2 Process Management tool in VS will help you with identifying the issue as well as repairing it. Just ensure that you update your source file as well to avoid the issue creeping back next time you deploy.

 

  • | Post Points: 4
Top 25 Contributor
Posts 225
Points 1,004
jan replied on Fri, Jul 3 2009 4:27 AM

as dc said, you can delete an error instance with a K2 adminsitrator user using the Management Console in the K2 Workspace. Then go to "Workflow Server" node >> "Processes" >> "YourProject" >> "YourProcess" >> "Instances"... then find your error instance, check the box on the left, and then click on the delete button.

HTH

Jan
The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.

  • | Post Points: 4
Not Ranked
Posts 6
Points 18

I have worklist items that appear to be orphaned. They do not appear in the error list but still appear in the K2 Worklist web part.

If I choose "Open" from the folio list box I get an error saying the list no longer exists.

Is there a way to remove these worklist items?

TIA

 

  • | Post Points: 4
Not Ranked
Posts 7
Points 10
Quintus replied on Fri, Aug 7 2009 2:11 PM
One wat to remove them would be to set up a dummy K2 account and redirect the orphaned Items to it .
The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses
  • | Post Points: 1
Not Ranked
Posts 7
Points 10
Quintus replied on Fri, Aug 7 2009 2:14 PM

Regarding my last post . Please not this is by no mean best practice . There is obviously a larger problem causing the Items to be orpaned in the first place and might bear further investigation . But to simply get the items off the WorkList the previous suggestion should work for now

 

 

The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses
  • | Post Points: 1
Page 1 of 1 (6 items) | RSS