Question

Unsure of which key output to use when filtering messages to run the correct workspace?

  • 27 March 2023
  • 1 reply
  • 3 views

Badge

I've never seen these key outputs when selecting my action to filter messages.

 

Previously, my FME automation was set to filter through my file / directory parent folder to find the correct file needed (when triggered) and then run the respective workspace.

 

Would "Workspace Name" be the correct choice to use here?

 

image.pngimage 


1 reply

Badge +6

The upstream connections determine which keys are available in the Filter Action. So if the Filter is connected to just the Directory Watch Trigger, only the Directory Watch Trigger's Output Keys will be available in the Filter.

Filter Keys from Directory Watch TriggerDirectory Watch Output Keys 

But if the Filter is connected to a Workspace Action and Directory Watch, both sets of keys are available. Filter Keys 

Which key you choose depends what the workflow requirements are. If you still want to filter by file name, select the File Path key. Just make sure a Watch trigger is connect upstream.

We have some good resources for working with keys:

Reply