Question

I am trying to publish a workbench to FME Server that writes to a geodatabase_sde which has 'versioned edit session' selected. I set the connection file to a user parameter, and publish then run, and get error 'writer must be a versioned edit session

  • 12 December 2022
  • 3 replies
  • 11 views

Badge

Is this a known bug? Is the only way to fix this to upgrade FME Server?


3 replies

Userlevel 4

If the table is versioned, you'll maybe have to set the transaction type to "VERSIONING" on the writer. It's described in detail in the documentation, see under the heading "TRANSACTION_TYPE" here:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/geodatabase/Writer_Directives_GeodbFeatClasses.htm

Badge

That's the problem, the writer's transaction type is set to 'versioned'

Userlevel 1
Badge +6

Hi @clairebibby856​ ,

A couple things to confirm:

  • Do you run into issues on FME Desktop?
  • What version of FME Desktop and FME Server are you on?
  • Can you share the whole error message for me to take a look?
  • Is the table versioned or non-versioned? If we are using a versioned edit session to a non-versioned table then Edit sessions do not work properly.

Thanks!

Kezia

Reply