Event Instance status of 0

Last post 02-12-2008, 10:47 AM by EyeAre. 0 replies.
Sort Posts: Previous Next
  •  02-12-2008, 10:47 AM 21812

    Event Instance status of 0

    Hey all.

    I am having a problem with some process instances on a Production environment.  Troubleshooting the error, I have found out the following.

    The process instances are getting stuck at the last event in the process (a server event, which sets K2.Synchronous to true).  Examining the K2Log.._EventInst database table for these event instances, I see that they have a status of 0

    I have managed to reproduce an event instance in my dev environment that has a status of 0, by throwing an exception in the server event.  This results in an event instance with status 0, and an entry in the error log (K2.._EventLog) for that process instance.

    However in the production environment, there is no error in the event log for the process instance ID, hence I am unable to repair the error and re-run the event.

    So, a couple of questions.

    ·         What does an event instance status of 0 signify?

    ·         Is there any other way an event instance can get a status of 0, other than an error being thrown within the code?

    ·         Could there be another reason why there is no entry in the Error Log for this process instance?  Possibly a limitation to the number or errors that can be logged?

    ·         But most importantly, how do I re-run the event, without having an entry in the Error Log?

     

    P.S.  At the time the event was created, I would have expected an error to be thrown within the event - caused by a Stored Procedure call raising an error.  Many other process instances running that event during the same period generated an error in the K2 error log.  After fixing the Stored Procedure, these errors were fixed using the ‘Repair All’ functionality in the K2 Service Manager

     Thanks very for any help that can be provided.

    Cheers, Ian

View as RSS news feed in XML