To go with the new System.Queueable interface, I'm looking for the analogy of:
Is there a
System.isQueued() or something?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
Spring '16 brings us a new method:
System.isQueueable() which takes care of this requirement.
As of Spring '16,
isBatch() does NOT return
true from inside