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 4 years, 2 months ago by  Kirandeep.
    • This reply was modified 4 years, 2 months ago by  Kirandeep.
  • 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