1 respuesta
HI Nicholas,I see you also reached out on https://salesforce.stackexchange.com/questions/353138/salesforce-process-builder-apex-error-too-many-future-callsCopying answer posted:"The limit on future invocation is a transaction limit and when you are doing updates in bulk, the transaction could easily include more than 50 records. You are correct that Process Builder will not solve this issue and Apex is the way to go.
- The trigger should pass to the Queueable a list of Ids from Trigger.newMap
- The queueable can do a callout to create the Asana project for the first Id, then enqueue again for the next Id and so on
An example of this strategy can be found in this question/answer on queueable state preservation"
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you