We have a scenario to trigger 3 process whenever there is a new record added to detail and how these BP process will trigger. Is it a sequence or in parallel?
Let us say,
Detail: Order Product detail
A record added - Triggers three BPs
When 5 records are added - 5*3 = 15 BPS (i.e copy of the same has to run).
Is there a limitation for the no of instance of BP to run in parallel?
Basically, the trigger processes are launched in parallel but they are being put into a background task queue, it is possible if the queue was empty at the moment of launch to have these processes launched simultaneously.
As for the limitations - technically there are none, but you will be limited by your recourses and the queue size.
Adding to the above example, there are 20 products added and the 20 processes are called but it gets completed sequentially instead of 20 running at the same time.
The process are in the background task queue. Is there a way we can run all the process parallel or any system settings for the parallel run?
The maximum amount of business processes that can be run simultaneously in the background is 5 for each application (for example, if you have two nodes with two apps on them but one database - the number of business processes will be already 10).
Alternatively, you can run business processes not only in the background but also "live" (which means you will see the uploading mask in front of you while business processes are running). This way, you can run plenty business processes at once but please take into consideration the memory capacity of the machine