Skip to main content
Question

Merging implicit parallelism in an automation ?


lifalin2016
Contributor
Forum|alt.badge.img+29

Hi.

I have built an automation with some business logic consisting of 4 chained workspaces (W4). I duplicate this automation for each new dataset I need to run, using a single global variable to control the data being handled (SQL Server schema name).

However, one customer has 4 such setups, which gives me some problems when coordinating the 4 automation runs, and I would very much like to just have to run a single automation for each customer (with multiple schemas).

I’m thinking that I could use the global variable to define a separated text with all 4 schema names, using a single workspace to split this into 4 outputs via an Automation Writer feature type, and start my 4 workspace chain (W4) for each value.

However I’m unsure how to merge the 4 W4 runs. How will a Split-Merge block  (or Merge action) handle such runs ? The content inside the block is just the 4 chained workspaces, but they’re being run 4 times in parallel.

Has anyone attempted this, or have any insight into merging workspace in an automation being run multiple times ?

Cheers.

2 replies

lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • May 2, 2024

And what if 2 runs succeeds and 2 runs fail ?


lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • May 3, 2024

Here’s a screen dump of my current status. I’m stuck with the middle external action (FME Server Topic), which should only be activated once, but I can only filter by a fixed value, not by count.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings