You need to sign in to do that
Don't have an account?
Kriti Khanna
Order of insertion of custom objects and corresponding process builder
Hello,
I am using apex code to insert a list of custom objects, on insertion we have process builder which fires for each time a record is inserted. I want to know will all the records in the list be inserted in the same order as they are added in the list or will they be inserted in a random order and correspondingly how process builder will be fired.
Let me clarify this with an example: suppose i add a record with 'Name' value ‘abc’ in list of custom objects and other one with Name ‘def’ in the list. When I give insert statement for list will abc be inserted first or not and will its process builder will be fired first or not or they will be inserted in a random order.
Please clarify this as soon as possible. If you could also attach a link supporting your statement it would be really helpful.
Thanks in advance
I am using apex code to insert a list of custom objects, on insertion we have process builder which fires for each time a record is inserted. I want to know will all the records in the list be inserted in the same order as they are added in the list or will they be inserted in a random order and correspondingly how process builder will be fired.
Let me clarify this with an example: suppose i add a record with 'Name' value ‘abc’ in list of custom objects and other one with Name ‘def’ in the list. When I give insert statement for list will abc be inserted first or not and will its process builder will be fired first or not or they will be inserted in a random order.
Please clarify this as soon as possible. If you could also attach a link supporting your statement it would be really helpful.
Thanks in advance