I have below batch apex code when I try to pass certain parameters through parameterized Constructor, I am getting apex batch error as “Start did not return a valid iterable object” Here is the apex batch code. Got it fixed by below change in the Apex Batch Class Constructor
DescriptionBelow is the SOQL query we can create using Workbench to capture the Permission Sets associated with a given User or Profile via the Permission Set Assignment object ResolutionQuery: SELECT Id, PermissionSetId, PermissionSet.Name, PermissionSet.ProfileId, PermissionSet.Profile.Name, AssigneeId, Assignee.Name FROM PermissionSetAssignment WHERE Assignee.Name = ‘JOHN SMITH’ Or retrieve all users associated with a specific PermissionSet like: SELECT Id, PermissionSetId, PermissionSet.Name, PermissionSet.ProfileId, PermissionSet.Profile.Name, AssigneeId, Assignee.Name FROM PermissionSetAssignment WHERE PermissionSet.Name = ‘Custom […]
Due to the nature of multitenancy and the fact we are sharing resources, governor limits are in place to ensure that all resources are allocated as expected to each. There are different types of governor limits Per-Transaction Apex Limits: These limits count for each Apex transaction. For Batch Apex, these limits are reset for each […]