
If you want to check if the code is running either on the batch or locally, call below method.
1. For sysOperation framework: this.isExecutingInBatch().
2. RunBase batch: this.isInBatch()
both methods will return a boolean.

If you want to check if the code is running either on the batch or locally, call below method.
1. For sysOperation framework: this.isExecutingInBatch().
2. RunBase batch: this.isInBatch()
both methods will return a boolean.
More Posts
Leave a comment