Hi Techies,
I have written a multi-threading batch job class(extends RunbaseBatch) in which I need to access one class buffer that is traversing from previous callers. I brought that buffer till this multi-threaded class by setting and getting with parm methods. whereas I can access this buffer if I don't run this class in batch, but when I enable the 'Run in batch' checkbox and executes, it loses the buffer and sets to null.
I can't add it in macro list as it is a heavy object and cannot be added in container.
I have an alternate solution, where I can reconstruct this when I run in batch and that works too, but to see the output after successful execution of batch job I need to open a complete new form and then navigate till this form to check the output. Whereas the expectation is whenever execution of batch job completes successfully I should close the form and it should show result in previous form, so the refresh is not happening correctly on this previous form even after writing refresh code because we construct new buffer in batch class.(which losses few other references).
Can anyone help me out here on how can I access the same class buffer instead of reconstructing new? or suggest other solution where I can see output once I close the current form instead of opening in new tab.
Any response is appreciated.
Thanks!