Skip to main content
Does anyone have any suggestions on how to get some feedback from a workflow for debugging? I am wanting to check the values of some data fields at a certain point, and I can't seem to output to the event log or to text files during the workflow process.

I've done a few guides


one that involves breakpoint debugging in VS 2005


http://blog.mgallen.com/?p=153


 and another that outputs to the K2 blackpearl server console


http://blog.mgallen.com/?p=114


 


Hope that helps


Martin


You can get some information on datafields by drilling down into the built-in process overview report without writing any code.

You should be able to output to text files in server code events - where were you trying to output the files?


Yeah this is true, however I don't find it the most intuitive way to debug... I'm not patient enough... I want to know the problem now! :-)


Martin


Yeah I hear ya Martin, I was just trying to diagnose the problem with outputting to files - I'm wondering why he can't.

The first place i'd look would be in the <driveletter>/K2 [blackpearl]/HostServer/bin/ folder for the logs, that would be a good indication if there was any underlying issue.


 Martin


Thanks for your help. I'm now able to get debug messages.

Reply