New answers tagged

1

Aside from the potential problems with governor limits, getting your 10k lists is pretty simple: sObject[] dmlExecuteList = new sObject[0]; while(!recordListInsert.isEmpty() && dmlExecuteList.size() < 10000) { // Removes first item from recordListInsert and adds it to the dmlExecuteList dmlExecuteList.add(recordListInsert.remove(0)); } insert ...


1

Yes Depends - if it's a process builder operating on the update/creation of an object then the objects already exist and filtering is similar to how you'd do it in an apex trigger context. If you're doing a Get Record component in flow then it'd be a query. I believe yes although I can't find any documentation that outright says it. Note that workflow field ...


Top 50 recent answers are included