Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
49 views

SOQL having single quotes (') in the label value on PermissionSet record is not getting queried using the LIKE operator on the label field

Created a Permission set name : John's ps Query to be run : SELECT Id, Label FROM PermissionSet where label like 'John\'s ps' Result : [object Object]: MALFORMED_QUERY: CustomPermissionSet WHERE ...
Abhishek B's user avatar
-2 votes
1 answer
378 views

How can i convert apex method into batch?

public void addVisibilite() { Map<Id, List<Id>> accountContactRelationIdsMap = new Map<Id, List<Id>>(); for (AccountContactRelation accountContactRelation : (List<...
Farkous's user avatar
  • 27
0 votes
0 answers
40 views

Batch Class and SOQL Implications: 1% of the time a record gets updated that shouldn't

pretty high level question here based on some of the erroneous updates I'm seeing (less than 1% of total records processed). I'm currently running a batch class (50 record batch size). It is a ...
thinker's user avatar
  • 1,482
2 votes
1 answer
3k views

How do SOQL queries act in Queueable (async) apex?

I have a set of 4 Queueable apex classes that perform an ordered series of tasks on a large number of records. It queries a limited number of records, modifies them so that they no longer meet the ...
NNPPOINTER's user avatar
-2 votes
1 answer
205 views

Help in writing Asynchronous Batch Apex to avoid governor limit of 150 records

I have a function that has the DML operation inside the for loop due to which I am running into governor limit exception of 150 records. I read about batch apex on Salesforce discussion about not sure ...
LearningMacro's user avatar