Hi @carmijo
Do you have the fme_db_operation attribute set anywhere in your workspace, where it may be picking up an unintentional value of UPDATE? When you add an Excel Writer you can also set the 'Default Feature Type Writer Mode'.
It may be worth deleting and adding a new Excel writer and double check the settings.
You could also try adding an AttributeManager before the writer and set the value for the fme_db_operation to INSERT and see if that changes the result, or add an counter and set the attribute to be called xlsx_row_id as a temporary fix.
Hi @carmijo
Do you have the fme_db_operation attribute set anywhere in your workspace, where it may be picking up an unintentional value of UPDATE? When you add an Excel Writer you can also set the 'Default Feature Type Writer Mode'.
It may be worth deleting and adding a new Excel writer and double check the settings.
You could also try adding an AttributeManager before the writer and set the value for the fme_db_operation to INSERT and see if that changes the result, or add an counter and set the attribute to be called xlsx_row_id as a temporary fix.
Hi @jlutherthomas
That's certainly the issue. I inherited this workspace from a coworker and didn't realize that the attribute creator before the excel writer I added was setting fme_db_operation to UPDATE.
Thank you very much for your help.
For documentation purposes:
I had this same problem but was initially unable to fix it.
Problem was triggered by a feature with an fme_db_operation attribute I wrote to both an GDB and an XLS. It needed the fme_db_operation attribute for the GDB but not for the XLS so added an AttributeKeeper in the XLS stream expecting the fme_db_operation attribute would be stopped. Did not fix it.
Only when I removed the fme_db_operation attribute using an AttributeRemover the problem went away. This is because fme_db_operation is a system attribute, which get unexposed by removing. It is then re-exposed at the Writer if checked in the Format Parameters tab.
As the workspace was already running in FME Server it took me a while to find this.