Skip to main content

Hello,

 

I build a workspace which create an excel document. on the server.

I build a Server App on the fme Server 2019.1 and it runs fine by calling the url and clicking the run button. But I want that the App starts automaticly with the url and not with clicking the run button. Is this possible?

Thanks for your answers.

Greetings from Germany

Thomas

Hi @jtn40764,

Not sure this is possible with FME Server Apps, otherwise you will need to create a workflow that uses the streaming service, which will return the output each time the service url is called.

Mind you the streaming service returns the output to the application requesting it (your browser).

To force the output to be downloaded you can add a second writer ( text file for example) since more than one output forces the streaming service to create a zip file of all the workflow outputs.

Hope this helps,

Itay


Hi @jtn40764,

If you want to trigger a workspace to run just by entering the url in the web browser take a look at the Webhook URL under the Advanced Run Workspace options. Rather than creating an app, this will create a URL that includes all the set parameter values in the query string so there is no interface for the end user to edit the parameters before clicking run.

Alternatively you could also take a look at the transformations endpoint for the FME Server Rest API which lists three post requests detailing different ways to run a workspace. This option will only run workspaces under the Job Submitter service though, so if you need to run the job under another service then the Webhook is the best option.


Hi @jtn40764,

If you want to trigger a workspace to run just by entering the url in the web browser take a look at the Webhook URL under the Advanced Run Workspace options. Rather than creating an app, this will create a URL that includes all the set parameter values in the query string so there is no interface for the end user to edit the parameters before clicking run.

Alternatively you could also take a look at the transformations endpoint for the FME Server Rest API which lists three post requests detailing different ways to run a workspace. This option will only run workspaces under the Job Submitter service though, so if you need to run the job under another service then the Webhook is the best option.

Is the webhook the new streaming service?


Is the webhook the new streaming service?

Hi @itay,

What is now named the Webhook URL is the equivalent of the Direct URL in FME Server pre-2019. It will use whatever service your workspace was registered to when you select 'Create a Webhook' so this could be Data Streaming, but also Job Submitter, Data Download etc.