Skip to main content
Question

FME Server remembers last parameters when running jobs?

  • July 4, 2017
  • 5 replies
  • 47 views

helmoet
Forum|alt.badge.img+8

Hi, I have this terrible simple workspace, of only a creator, a parameter fetcher and a logger. Next to it a floating number parameter. When I post it to one FME Server site, it runs (JobSubmitter) fine and when I run it again, it remembers the value I entered before. When I post it to another site, it still runs fine, however, it doesn't remember the last value I entered for the parameter. What is wrong with the second setup? I suspect it has something to do with the rights of a user in the folder for the jobsubmitter service. Or it has something to do with cookies, or a secure http and Active Directory setup. How to keep the nice behaviour remembering the last values supplied?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

david_r
Celebrity
  • July 4, 2017

I think it's your browser session that remembers the form data, probably through a cookie, but maybe someone from Safe can give us the technical lowdown.

I don't think there's an easy mechanism to remember the default parameter value between browser sessions and servers.

If you feel adventurous, you could try writing a workspace that modifes its own .fmw file to inject the last used parameter value as the new default, but you'd have to be careful not mangling the fmw completely.


rylanatsafe
Safer
Forum|alt.badge.img+14

As far as I know, @david_r is correct in his explanation. The web form for workspaces in the FME Server Web Interface uses Cookies (with combination of User Account) to save the most recently entered parameters.

 

I wonder if using a custom web form - for example, borrowing code from the Easy Translator Demo on the FME Server Playground, could be a viable workaround for you? I'm sorry that this feature is causing you pain!

 

 

> maybe someone from Safe can give us the technical lowdown.

 

Unfortunately I do not have the expertise to give the technical lowdown!

helmoet
Forum|alt.badge.img+8
  • Author
  • July 5, 2017
Thanks,@RylanAtSafe, @david_r, I think this will give us a bit of a direction for a solution. May be the secure second setup does not accept cookies or so.

mark2atsafe
Safer
Forum|alt.badge.img+59

I think a way to discover what is happening is to use FME Workbench and download the workspace from the Server. If the settings have been set in the workspace then you will see them. If they are only set in the web browser then the values should not exist in Workbench.

Does that make sense? It should give us an answer whether it's in the workspace or just the browser.


helmoet
Forum|alt.badge.img+8
  • Author
  • July 6, 2017

Hi @Mark2AtSafe, I will look into this.