You are viewing limited content. For full access, please sign in.

Question

Question

terminate workflow delete document

asked on August 16, 2016

I accidentally created a runaway workflow where everytime it modifies, it triggers the starting rule,  which then modifies the doc, which then triggers the starting rule, and so on…

 

I’ve tried stopping the services, stopping the starting rules and disabling some components of the workflow. Even after all these have been halted, it continues to run and not let me delete the document.

When I try to delete the document I get the following error (error log included)

Error Code: 9059
Error Message: Entry is in use and cannot currently be modified. [9059]

------------ Technical Details: ------------

LFSO:
    Call Stack: (Exception)
        LFSession::ProcessResponse
        LFSession::SendRequest (DELETE /+LF/entry/9453)
        CLFDatabase::DeleteEntryByIDEx
    Additional Details:
        HRESULT: 0xc0042363 (LFSession::ProcessResponse, LFSession.cpp:3876)
         (LFSO/10.0.0.865)
LF.exe (10.0.0.994):
    Call Stack: (Exception)
        CFolderListCtrl::DeleteEntry
        CFolderListCtrl::OnFileDelete
    Additional Details:
        Exception: 0xc0042363 [9059] (Operation failed due to entry sharing violation.) (CFolderListCtrl::DeleteEntry at FolderListCtrl.cpp:2116)
    Call History:
         SetProfileValue
          CAttachedRepository::AddProfile
           CAttachedRepository::UpdateProfile
        GetOptionString ([HiddenDialogs]RecycleEntries)
         CAttachedRepository::GetProfileValue
        CLFApp::GetAuditEventReason
        CFolderListCtrl::OnFileDelete
         CFolderListCtrl::DeleteEntry

 

 

 

Am I missing something?

0 0

Replies

replied on August 16, 2016

How long have you waited after terminating the processes?  Even if you stop the starting rules and service, once you start it the workflows are going to run up until the Subscriber stopped monitoring.  May take a little times as there are probably quite a few workflows in the queue that will still execute.  

0 0
replied on August 16, 2016

Thanks Chris. You are probably right, However I've now waited the longest, about 20 min, now and still am not able to delete the doc.  It may very well be that there are still a ton that are still going.

0 0
replied on August 16, 2016

Hi Corey, 

Stop the workflow services and then login to the Laserfiche Admin Console then release the document under Activity --> locked entries then delete the document. Once you have managed to delete it, then turn on workflow and then do a search on all active workflows and terminate them if they have not already terminated. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.