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
1import fme23message = 'SUCCESS' if fme.status else 'FAILURE'45log_filename = fme.macroValues['FME_MF_DIR'] + '/' + 6 fme.macroValues['WORKSPACE_NAME'] + '_status.log'78with open(log_filename, 'w') as statuslog:9 statuslog.write(message)10There'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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

