How to process datatable in parallel for each activity

Hi Please help me with this

how to split datatable into multiple instances and run through the parallel activity and after run we have update the column value of the current process row(in gdrive)?

Thanks
ArmilaSwain

@armilaswain98,

No need to go hard way. Use Parallel For Each activity like this.

image

Thanks,
Ashok :slight_smile:

1 Like

Hi @ashokkarale
But if we want to process these items in different browser like item should be open in chrome, firefox etc and processed. then how could we manage?

Thanks
Armila

@armilaswain98,

The problem you are trying to solve here will not be feasible with Parallel activity because,

A Parallel activity operates by simultaneously scheduling each Activity in its Branches collection at the start. It completes when all of its Branches complete or when its CompletionCondition property evaluates to true . While all the Activity objects run asynchronously, they do not execute on separate threads, so each successive activity only executes when the previously scheduled activity completes or goes idle . If none of the child activities of this activity go idle, this activity execute in the same way that a Sequence activity does.

So what should be the better approach?
In my opinion, as you want to open the items in browser and process them there further, you should be adding these to Orchestrator Queue and then process them with another bot specifically designed for processing it. If you want to speedup the process, you can use multi bot architecture to process multiple transaction at a time.

Using Parallel for this process is not advisable and reliable.

Parallel activities are good for smaller and simpler simultaneous processing only.

Thanks,
Ashok :slight_smile:

1 Like

Hi @ashokkarale ,

Thanks for your suggestion.

Thanks
Armila Swain

1 Like

@armilaswain98,

You are welcome! Cheers!

Thanks,
Ashok :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.