function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
drs-medrs-me 

get transaction id in apex

Is there any possibility to get the transaction Id / Thread ID of the current running process in apex ?
Basically the same way how salesforce group the logs on the developer console.
NagendraNagendra (Salesforce Developers) 
Hi,
You cannot fetch TransactionID (These is any such concept/provision). 

May I suggest you please check with below link from stack exchange community with a similar discussion and a suggested workaround which might help you further. Please let us know if this helps.

Kindly mark this as solved if the information was helpful.

Thanks,
Nagendra
drs-medrs-me
Hi Nagendra,
unfortunately I have seen that stackexchange thread already and it has a different requirement than mine