Activity › Forums › Salesforce® Discussions › Can we Detect Apex Runtime Context in Salesforce ?

  • Kirandeep

    Member
    September 15, 2020 at 1:40 PM

    After Apex Winter 21 Release,We can now detect Apex context at runtime and correlate multiple logs triggered by the request, using Request ID and Quiddity values.
    Use the methods in the System.Request class to obtain the Request ID and Quiddity of the current Salesforce request.

    • This reply was modified 6 years, 1 month ago by  Kirandeep.
    • This reply was modified 6 years, 1 month ago by  Kirandeep.
  • [adinserter block='9']
  • Deepak

    Member
    September 15, 2020 at 4:34 PM

    You can now detect Apex context at runtime and correlate multiple logs triggered by the request, using Request ID and Quiddity values.Request class to obtain the Request ID and Quiddity of the current Salesforce request.

  • Ratnesh

    Member
    September 17, 2020 at 7:34 AM

    Yes, You can now detect Apex context at runtime and correlate multiple logs triggered by the request, using Request ID and Quiddity values

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…

Pros & Cons of Lightning Component vs. 3rd party frameworks in Salesforce UI development

Video in

Nikita drops by to share his invaluable experience of using popular 3rd party frameworks in Salesforce. http://media.blubrry.com/salesforceway/audio.xmcdn.com/group42/M05/25/57/wKgJ81rXk6XjaZIAAU_I_KtprFM998.m4a