I have a situation where my managed package has triggers that kick off an asynchronous method. I'm running into an issue where if an aync. Process fires my trigger twice causing me to hit a governor limit.
I had an idea to take the extra trigger invocations, store them in a list, and attach them to the queueable that got enqueued first. Them when the queueable executes it would finish my checking the list and chaining into the next one.
I'm having trouble getting that list to transfer over from the method that the triggers call to the execute method. Is there a way to do that. (Basically add data to a queueable after you have called enqueueJob())