Solved

How to use construct a URL to start an FME workspace

  • 15 December 2022
  • 2 replies
  • 5 views

Hi.

I am wanting to utilize a webhook to kick off a process and have set up a sample site based on Send Source Data to FME Server with HTTP POST (safe.com).

This example uses a text file to kick off the process but I am wanting to use the webhook URL with a parameter (key field).

Is this possible?

If so, what would I use as the initiator of the workspace and how would I pull in the parameter?

 

Any help would be most welcome!

 

icon

Best answer by virtualcitymatt 15 December 2022, 09:37

View original

2 replies

Userlevel 4
Badge +26

Take a look here at the transformation services

https://docs.safe.com/fme/html/FME_Server_Documentation/ReferenceManual/transformation_svcs.html

 

There are several ways to trigger a workspace depending on how you want to handle the results. The doc outlines how construct the rest call.

 

In addition you can use the 'create a webhook' method directly in FME Server from the Run a Workspace page, this method is nice because it also creates a token at the same time:

 

image

Take a look here at the transformation services

https://docs.safe.com/fme/html/FME_Server_Documentation/ReferenceManual/transformation_svcs.html

 

There are several ways to trigger a workspace depending on how you want to handle the results. The doc outlines how construct the rest call.

 

In addition you can use the 'create a webhook' method directly in FME Server from the Run a Workspace page, this method is nice because it also creates a token at the same time:

 

image

Thank you for your answer. I really appreciate it.

You have saved me so much time!

 

Regards, Paul

Reply