I've got a workbench that's using the GEODATABASE_SDE writer and I have set the following as published parameters:
Table Exists (Yes/No)
Truncate Table First (Yes/No)
However, it is failing to truncate the table when both are set as published parameters and both are specified as 'Yes'. There is no error message in the log, it just seems to be ignoring the truncate setting.
Also:
- If I remove the Table Exists published parameter and set it to Yes and leave the Truncate Tables First published parameter - the truncate works ok.
- If I remove the Truncate Tables First published parameter and set it to 'Yes' and leave the Table Exists published parameter - the truncate fails.
I even looked at a workaround of having a startup python script do the truncate with arcpy, but there doesn't seem to be a way of obtaining the list of writer feature types in the workbench to identify which feature classes need to be truncated.
Anyone got any ideas. I really don't want the user having to go into the workbench to change the writer parameters.
FME Information:
Edition: Data Interoperability (node locked-crc)
Version: 2013 SP1 (20130429 - Build 13450 - WIN32)
Locale: en_GB
Codepage: 1252 (ANSI - Latin I)
Home Directory: C:\\Program Files (x86)\\Esri\\Data Interoperability (x86)\\
Operating System: Microsoft Windows Server 2008 R2 Server 4.0 64-bit (Build 7600)