Skip to main content
Solved

Can I pause or cancel a WorkspaceRunner from FMEObjects

  • September 15, 2017
  • 2 replies
  • 39 views

Forum|alt.badge.img

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

Best answer by david_r

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • Best Answer
  • September 15, 2017

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


Forum|alt.badge.img
  • Author
  • September 15, 2017

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.