Skip to main content
Question

Find Published workbenches using X database connection


Is it possible to find all published workbenches that are using a specific database connection? Nothing is obvious in the UI of FME Server.

 

I've managed to find fme_nc_namedconnections but I've yet to make the jump so i can see connections either in an automation or schedule or details of a workbench.

 

Any help gratefully received......

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

There's not going to be an easy way I'm afraid...

If you have access to the file system where the repositories are stored you can set up a workspace using a Workspace reader to read all your .fmw files, then check the ReaderProperties and WriterProperties for you database connection names (they'll be in the Dataset parameter)

You'll also have to account for transformers using database connections.

Alternatively, using a Text File reader, set to read the whole file at once, and then using a StringSearcher to look for the database connection names could work too.

I know @lars_de_vries has been working on a workspace-documenting-workspace, maybe he can offer some more advice.


ebygomm
Influencer
Forum|alt.badge.img+33
  • Influencer
  • July 2, 2020

You also need to consider whether you are just interested in finding out which workspaces use a particular named connection or whether you are wanting to find out which workspaces connect to a particular database/service whether named or embedded


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings