VMware Cloud Community
WinStime
Enthusiast
Enthusiast

How to execute an ASYNCHRONOUS WF for each element ?

Hi,

I was wondering how i could speed up a foreach workflow based on an array as input with an asynchronous element ?

I tryed to select first asynchronous element and look for "for each element", but it doesn't work

I also tryed the reverse, but no

Does anyone know how to execute parallel workflow with an array as input ?

Tags (2)
0 Kudos
3 Replies
iiliev
VMware Employee
VMware Employee

Hi,

You cannot modify the existing Foreach element to do so, but you can implement this behavior yourself. Should be pretty straightforward, either purely in vRO scripting code, or by simulating a loop using other elements like 'Asynchronous workflow', 'Increase counter', etc.

0 Kudos
eoinbyrne
Expert
Expert

See the attached for a workflow I wrote for this recently

Import it to vRO and then you can muck about with it

HTH

0 Kudos
WinStime
Enthusiast
Enthusiast

Thanks for your reply.

I will have a look at it next monday 🙂

0 Kudos