I have a requirement where user is sending one record at a time to a third party system using SOAP API. @future is used to send out web calls. Once the request goes out, I need to poll third party server to get the status of my webservice.
I have tried two approach for polling. I tried introducing delay between webservice callout and polling function using
However this method results in reaching 200000 apex line limit.
If I try not to include the delay, I am hitting 10 callout limit.
I am not sure how to tackle this problem.