Hi, I have a web application and a mobile application with the same functionality. Can I make a query to know if an error is present in both and show me the information?
Solved! Go to Solution.
06 Mar 2023 06:24 AM - last edited on 27 Mar 2023 02:43 AM by MaciejNeumann
Yes you can, using USQL (https://www.dynatrace.com/support/help/platform-modules/digital-experience/user-sessions/custom-quer....
Query: "SELECT * FROM usersession WHERE (useraction.requestErrorCount>0 AND (useraction.application='easyTravel Mobile' OR userevent.application='easyTravel Mobile' OR usererror.application='easyTravel Mobile' OR useraction.application='www.easytravel.com ' OR userevent.application='www.easytravel.com ' OR usererror.application='www.easytravel.com '))"
Thansks for your help!
Can I search for an error specifically between applications? e.g. "The id is required"? or or more specific for what the error says?
You can set up custom errors for web application and then filter by them, https://www.dynatrace.com/support/help/platform-modules/digital-experience/web-applications/setup-an...
For Mobile, there is no such option in settings, but I guess you can set errors in your app code, and then query for these errors. If still not possible , maybe you can leverage the user actions portion, to define an error as user action and use them in the queries.