Question
Return in the middle of a service
Hello,
I'm writing a service where I need to exit/return execution based on a programmatic decision. For example:
if (var < 10)
{
return/exit
}
continue execution
Thingworx throws an error when saving a service if you put "return" in the code. What's the proper way to exit a service in the middle of execution?
Thank you,
Nick

