Skip to main content

Scenario, we have a webapp that uses the rest api to run workspaces.

 

 

User does not have an account on FME Server.

 

User interacts with the web app. User receives an email that includes a link to the log file.

 

 

How can I set up FME Server permissions so that the user can simply download the log file from the email link without having to enter a username/password?

 

 

This should be the absolute minimum required permissions. Ie there should be no unauthenticated access to run the jobs themselves.

 

 

 

 

Hi @jdh,

What about sending the log as an attachment instead of the link to it?


Hi @jdh,

What about sending the log as an attachment instead of the link to it?

That becomes problematic as the log hasn't finished writing when the notification is triggered.

 

 

The workspace has a Terminator immediately after the FMEServerNotifier that triggers the email, so I'm not terribly concerned about race conditions.

 

 


That becomes problematic as the log hasn't finished writing when the notification is triggered.

 

 

The workspace has a Terminator immediately after the FMEServerNotifier that triggers the email, so I'm not terribly concerned about race conditions.

 

 

I see, this is not the best solution for such a construction. I would trigger the topic once the workspace is done.


I see, this is not the best solution for such a construction. I would trigger the topic once the workspace is done.

So the problem with triggering the topic when the workspace is done, is that the "Post Data from Writer" setting only works on Success, not on Failure.

 

 

Otherwise I would absolutely use a FeatureWriter -> Terminator, Post to Topics on Failure solution.

 

 

(Which is how the emails are set up when the workspace is successful).

Reply