Skip to main content
Question

Is there a way to automatically generated a documentation file from a workbench workflow?

  • November 24, 2023
  • 5 replies
  • 177 views

Interpreting an FME model can be challenging at times, so having a function that exports every transformer/tool used in the model and automatically providing an interpretation of their actions would be helpful. Is this possible in FME?

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+61

I know some users have designed this. You can make use of the workspace reader to create something like it. I believe they used bookmarks and transformer naming standards to make it readable.


david_r
Celebrity
  • November 24, 2023

I know some users have designed this. You can make use of the workspace reader to create something like it. I believe they used bookmarks and transformer naming standards to make it readable.

Documentation for the FMW reader: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-ReadersWriters/fmw/fmw.htm


redgeographics
Celebrity
Forum|alt.badge.img+61

I do think it requires the developer to properly document the workspace. Any kind of automated system can probably tell you what is being done, but not why. And the why is at least as important, maybe even more.


malegre
Contributor
  • September 19, 2025

I’ve experimented with a different approach: renaming the .fmw to .xml and running it through an AI prompt. The result is a Markdown doc of inputs, outputs, and step-by-step logic, written in general ETL terms.

Of course, this doesn’t capture the “why” behind a workflow (that still requires proper annotations inside), but it can be a quick way to share the “what/how” of a workspace as a quick overview or for colleagues who don’t use FME.


Just sharing in case it’s useful for others exploring documentation options:

https://www.linkedin.com/pulse/automatically-document-any-fme-workflow-using-ai-2-steps-alegre-7zzqf


redgeographics
Celebrity
Forum|alt.badge.img+61

I've had pretty good experiences with using the AI Assist in Workbench (2025.1 and higher), simply asking it “what does this workspace do” usually comes up with a pretty good description. Still the what and not the why of course, but it's a good start.