I was asked to debug a workflow issue where workflow attribute was not getting set correctly. In the past I have worked mostly on Legacy builder so Eclipse environment is quite new to me and I generally struggle with basic things.
the workflow step I needed to debug has event script. So I basicaly followed below steps for debugging generic event script
1. Run Eclipse
2. Import Oscript module from the module directory
3. Open the generic event script and put a breakpoint
4. Execute the workflow, the script gets called and I get the debug window at the breakpoint.
All good so far.
Now during debugging, I didnt want to proceed further so instead of resuming and completing remaing steps, I just used the stop button to stop the debug window and since then I am not able to debug the script anymore. I get "Dispatcher error: Error finishing workflow step" in the console window and "Content Server Error: Error performing Workflow operation. Error finishing workflow step." in browser.
I cleared all breakpoints from the script, closed eclipse and started the services. I still get the same error. I tried to clean the project and rebuilt it but of no use. And it not applies to testing workflow instance but all instances of that workflow which is very frustrating.
Please note I did not make any changes to the oscript. I was simply debugging it and this issue occured. I think there's some cached copy of the script somewhere which is causing this issue but not sure how to get rid of it.
Did anyone face this/similar issue during their development and any pointers to get rid of this error?
I had never faced this issue in legacy builder where debugging was much easier.