Executing Parallel Multi Application Launch on "StartMyDay" click: Alternative code solutions in PEGA Robotics

Hi,

I want to manually run five applications open in parallel upon clicking “StartMyDay” without utilizing the onStartAdpater event on startMyDayController. Currently using onStartAdpater event to launch each application sequentially one after another.

Please provide alternative code snippets or suggestions

@RajivB503 You probably don’t want to launch them in parallel. That may end up taking at least as long as launching them sequentially. With that being said, the only way to use Start My Day and control when they start is to use the OnStartAdapterEvent. You would set each adapter to StartMyDay=Manual and then use that event and its parameter to determine which adapter to call your Start Automation on.

@ThomasSasnett Actually i want to launch 5 application in parallel manually to StartMyDay to start adapter. Please let me know if you have any solutions for the same.

@RajivB503 The way to do that is to set each of these Adapter’s StartMyDay property to Manual. You would then use the OnStartAdapter event and check the name of the adapter being started and then call the corresponding Start automation (or in this case I am just using the adapter Start method).

@ThomasSasnett Accepted Solution