Batch Apex with SetParentLog() - no parent log available? #448
Unanswered
JeroenSfdc
asked this question in
Q&A
Replies: 1 comment 5 replies
-
So I found that if I actually do log an entry in the constructor, it works all logs created in the
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have implemented Nebula with Batch Apex using the documented pattern.
Although the
Nebula__ParentLogTransactionId__c
is set, the parent is not set through the LookupNebula__ParentLog__c
.Effectively, the parent transaction is not even created.
This is the pattern implemented. I initialize the member originalTransactionId in the constructor.
Beta Was this translation helpful? Give feedback.
All reactions