function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shiv kumar 48shiv kumar 48 

Flow ran in bulk for platform event

We are publish a platforrm event independently for 2 records , and a flow is subscribed to that platform event.

The flow does a update to each record and on update for each record another after save flow runs , what I found that after save flow ran in bulk mode for these records . How is this possible because I am firing Platform event separately for each record . any idea ?
VinayVinay (Salesforce Developers) 
Hi Shiv,

I dont think this is possible, If platform event–triggered flows, paused flow interviews, and processes are subscribed to the same platform event, we can’t guarantee which one processes each event message first.

Reference:
https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_subscribe_flow.htm

Please mark as Best Answer if above information was helpful.

Thanks,