I have a c# application that runs fme translation but how can I know if the translation was successfully or not?
Solved
How to know if a translation was successfully or not
Best answer by david_r
You can also use the workspace shutdown script to write out the translation status.
Sample Python shutdown script that will write either "SUCCESS" or "FAILURE" to the text file named <workspace filename>_status.log
import fme
message = 'SUCCESS' if fme.status else 'FAILURE'
log_filename = fme.macroValues['FME_MF_DIR'] + '/' +
fme.macroValues['WORKSPACE_NAME'] + '_status.log'
with open(log_filename, 'w') as statuslog:
statuslog.write(message)
There's a lot if interesting stuff in the 'fme' module that you may want to in include in this file:
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.
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.

