We are trying to track a field change on a record of a managed package object, based on this we are calling out one of our downstream application with rest call.
Step 1- A Managed package batch job is updating a field on Managed package object record.
Step 2 - Taking this a triggering action we are calling one of our downstream application using future methods from trigger.
Step 3 - The managed package job is failing with Too many future calls: 1
We have debugged the execution, observed future call is getting executed only once and the whole code is bulkified, generally when we call asynchronous to future methods below error will come
First error: Future method cannot be called from a future or batch method: WebPortalCLBatchJobStatus.notifyJobStatus(String)
But couldn't figure out what is this Too many future calls: 1 error