K2 for SharePoint - Workflow Issue

  • 15 February 2017
  • 1 reply
  • 1 view

Badge +1

I have created a K2 workflow in SharePoint list, after deploying a workflow i have added some records in the list . I got more than 2000 email's from K2 workflow. I dint get any clue for stop this workflow. Even i checked in the K2 workspace. Can anyone help on this please?..

 

Thanks in advance,

Lakshmi Priya.P


1 reply

Badge +9

Hi K2STG_Lakshmi,

 

A process can be stopped from  k2 workspace, under Management console.

To stop process navigate to Workspace Management > Management Console > Workflow Server > Processes >Expand ur process click on Instances.
Select the process Instance and click on stop from top toolbar.

 

But from post it looks your process instance went in loop.  

In Case process is entered to loop, to stop such process instances follow below steps.

  • Stop the K2 Service
  • Identify the running instances:

Status = 2 (Running) or (Active) 

Status = 4 (Stopped) or (Completed)

 

  • In sql server execute command  SELECT * FROM [K2].[Server].[ProcInst] where Status = 2
  • Identify the instance by details such as Folio or start time and change the status to 4 to stop it:
  • In sql server execute command  update [K2].[Server].[ProcInst] set status= 4 where ID = {ID} and ProcID ={ProcID}
  • Start the K2 Service.

Reply