Pipeline after import (heavy traffic/transient error)
I am trying to improve pipeline performance and need guidance on the best approach please.
When approx 1000 records are created from csv import using ImportExport action in TABLE A, the pipeline should look for TABLE B ID based on a text field in TABLE A and relate. Attached sample pipeline.
When records are imported, the pipeline runs, but noticed the traffic warning. Bulk upsert may not work as each pipeline trigger is on single record update.
Well in fact, there is a new pipeline trigger step that was just released to deal with this situation where you don't want to flood the app with pipeline steps creating too much simultaneous traffic, or another use case is that you want the records processed individually, and not in parallel.
The new pipeline trigger step I believe is called on bulk event,
(sorry I'm just walking outside now and I'm on my phone)so what happens is you do the import and because that is the trigger, the pipeline does not start running until all of the records have been imported. Then there will be a for each loop after that and that will run one by one. Now this is going to mean that it will take much longer for the pipeline to complete, but the advantages you won't get traffic warnings or worse, yet failures, and the other good thing is it won't impact the performance of the app for your regular users using the normal human UI.
You can test this by rebuilding from scratch or you can copy your existing pipeline, delete the current trigger step and add the on bulk event trigger at the top and edit the copy of your pipeline.