Workflow Process Exception Rule Problem

  • 9 May 2008
  • 1 reply
  • 0 views

Badge +1

I have a very simple workflow process. One activity that adds a Sharepoint list item and then creates a Sharepoint site. It works. No user actions.


This process is called from a WinForm.


I created an exception rule on the activity and set up the test data to force a duplicate site error.


The error fires the Exception Rule as the logging to the console shows the error.


The process is shunted to the K2Log database _procinst table with a status code of 3. 


The problem is that in the WinForm, I cannot detect that there was an error.


I have tried checking the status1 property. This returns completed. Not error.


I have set a ProcessField in the Exception Rule and checked in the WinForm. The default value is returned. Not the error value set in the Exception Rule.


Bit flummoxed. How do you check to see that the process executed correctly?


regards


richard 


 


 


 


 


1 reply

Badge +1
Turns out that status1 returns Error when using version 4.8075.0.1.

Reply