You need to sign in to do that
Don't have an account?
Alexander Atkinson
My flow errors when trying to create more than 100 records.
Hello, I have created a flow for an event planner. It creates an event, tables, and seats for the event.
However when I try to create more than 100 records the flow fails. Is there any way to fix this?
Image of my flow:
However when I try to create more than 100 records the flow fails. Is there any way to fix this?
Image of my flow:
Greetings to you!
You seem to be using DML within Loop, which would definitely hit your governer limit. I would recommend moving the same out of the loop. You need to bulkify Flow to Avoid Governor Limits. Modify your process criteria where they only query, create or update the required records and do not perform an extra query.
Please refer to the below links which might help you.
http://succeedwithsalesforce.com/5-best-practices-that-must-be-followed-when-building-flows/
http://creativesparq.ca/blog/2016/05/22/bulkifying-salesforce-com-flows-to-avoid-governor-limits/
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks and Regards,
Khan Anas