Execute sdenario in parallel | Community
Skip to main content
Level 2
September 14, 2023
Question

Execute sdenario in parallel

  • September 14, 2023
  • 1 reply
  • 1345 views

Hello!

Is it possible to execute bundles in parallel? I have a scenario with long lasting step, it would be nice if it was possible to make it parallel in order to save processing time.

Alternatively, some module forcing "processing all bundles till this point" could do the trick.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

lgaertner
Level 9
September 15, 2023

Hi,

did you try working with a Router module?

Visually it seems to continue processing on each path simultaneously, but still, I'm not really sure if that's what happens internally.

 

 

Regards

Lars

Mateusz64Author
Level 2
September 15, 2023

Hi.

I tried with router but I couldn't figure out how to configure it. However, Flow Control module contains Aggregator and Iterator steps, I combined the two to achieve what I wanted.

This, unfortunately, has a drawback - it seems that Aggregator uses filed names exactly as they come from previous modules, so you can't really aggregate step1 name and step2 name. This may be a problem in the future.

For now I've got this monstrosity doing exactly what I wanted:

 

Mateusz64Author
Level 2
September 15, 2023

The router itself does not really need to be configured. It depends on what you really want to do...

 

Apart from that, I don't really understand what you want to achieve with an aggregator and an iterator, as this doesn't really make sense from my point of view.

 

As we are currently working on the AEM integration, my I ask which connector you are working with? Do you use the "native connector" or the "enhanced connector" in Workfront?

 

Regards.

Lars

 


My (simplified) scenarios needs to:

  1. Read documents from Workfront
  2. Put them in AEM DAM
  3. Set some metadata based on values from Workfront
  4. Publish assets.

My problem is that step 2 puts files to DAM and doesn't wait until AEM processes metadata. And this takes significant amount of time. I wanted to add a step to simply wait few minutes, but the problem is that scenario is executed one by one, so it waits few minutes for each document, which is not acceptable.

What I want is to upload all documents (preferably in parallel), then wait few minutes and than set properties and activate.

I don't know how to check which connector I'm using.