03 Mar 2023 08:41 PM - last edited on 20 Jun 2023 12:38 PM by Karolina_Linda
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?
Thanks
Solved! Go to Solution.
06 Mar 2023 02:24 PM - last edited on 27 Mar 2023 10:43 AM by MaciejNeumann
Yes you can, using USQL (https://www.dynatrace.com/support/help/platform-modules/digital-experience/user-sessions/custom-quer....
Example:
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 '))"
06 Mar 2023 05:01 PM
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?
06 Mar 2023 05:27 PM
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.