Anyone know how to retrieve the current BatchJobId or RecId while running a RunBaseBatch?
Try this.batchInfo().parmBatchId().
I got sidetracked with another project, but I’ve already tried this. I get a value of ‘0’ returned. I placed it in the Run method. I don’t know what I’m doing wrong.