Skip to main content

I have some very long running Workspaces being run from C++ using FMEObjects. Is there anyway that I can allow the user to pause or stop them from code, perhaps when I receive log messages from them? If not, can I request that there is some mechanism added to the interface so I can. Currently on 2013SP2, moving to 2017.1 shortly.

Chris

I don't think that's currently possible using the API.

However, it is possible to cancel a workspace by killing the process. But you'll have to find the corresponding PID (process id) yourself first, which may not be trivial. Maybe this can get you on the right track: https://stackoverflow.com/a/1916881


I don't think that's currently possible using the API.

However, it is possible to cancel a workspace by killing the process. But you'll have to find the corresponding PID (process id) yourself first, which may not be trivial. Maybe this can get you on the right track: https://stackoverflow.com/a/1916881

Many thanks. That will work - just not very ellegant.

 

 


Reply