Skip to main content
  • 972 Posts
  • 3,302 Replies
972 Posts
getting the processing status of a FME workbench called by a python script

I am looking for the possibility to process the status message of a FME script (Translation SUCESSFULL / Translation FAILED) within a Python script, or to stop the script as soon as the processing was not successful.Currently I call my workbench inside a Python loop and process a (first) part of the data. Then I call the Workbench with the next part of my data and so on. Unfortunately, with my current workflow, I have no way to see when my Workbench generates an error in between and actually terminates. Within my loop, it continues and moves on to the next part.Currently I generate my argument using a function:def get_arguments(GDB, CSV, Start_Object_ID, Last_Object_ID):    arguments = []    if GDB:        arguments.append('--DestDataset_GEODATABASE_FILE "{}"'.format(GDB))    if CSV:        arguments.append('--DestDataset_CSV2 "{}"'.format(CSV))            if Start_Object_ID:        arguments.append('--Start_Obje

Badge Winners

Show all badges

Community Stats

32,331
Posts
123,151
Replies
40,371
Members