BULK API operations may reach maximum Apex CPU Time Limit if the running user has many (hundreds) of Permission Sets assigned
Last updated 2022-02-10 ·Reference W-5750932 ·Reported By 6 users
Summary
Sometimes BULK API operations may rearch maximum Apex CPU time limit in case if the running user has multiple (hundreds) permission sets assigned.
Repro
1. Create and assign multiple permission sets to a user (more than two hundreds)
2. Run any BULK API operation and capture Debug Logs
3. Observe the Apex CPU time is higher than it is expected
Workaround
Use less number of the permission sets assigned to a running user or break up the bulk operation into smaller chunks
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.