25 Oct 2022 12:01 PM
Hi Folks!
We have already integrated DT with a process mining tool in order to provide user journey information about a mobile app.
We have used the RUM user session API to extract the user session information with the following USQL:
SELECT json FROM usersession WHERE usercation.appliacation="client app name".
Unfortunately there are not any information about the web request errors in this extract.
We would like to use the web request error information and connect to the individual affected user actions.
Affected user action with request error: attached
Request error: attached
Do you have any idea or solution to extract the web request errors combined with the affected individual useraction?
Thanks in advance.
Best regards,
Mizső
25 Oct 2022 03:53 PM
Hello @Mizső !
Which process mining tool are you using? What can not be covered within DT when visualizing user journey or funnels?
Here you can find more information on the structure of objects you can call with the API:
In your case you'd probably have to look at the UserSession object and UserSessionErrors object and then interlink them in your tool - e.g. with the entityID / timestamp. Here I can understand this will not be optimal, as there is no sessionID or related action name in UserSessionErrors. Perhaps with UserSessionuserAction there is a way to make a feasible link.
What do you think?
25 Oct 2022 04:31 PM
@paul_kapeller to be honest, USQL does not work here and you won't have the error details. It's also The details are only in the MDA screens.
@Mizső I think you have to use the analysis screens for now. Just open the error analysis - I show it for reported errors, but it's similar for web request errors:
And then analyze the errors and actions, you might need to do the "Refine" as sparse errors might not get their way into the report.
If you open the error details you can see the sessions and actions affected by this error and you can open the sessions.
Also, you can analyze them from the user action view too - just open the user action screen for a particular action and choose the filter to filter only actions which have request errors. (But you can't filter on individual ones).
Would that solve your case?
25 Oct 2022 05:16 PM - edited 25 Oct 2022 05:16 PM
Hi @Julius_Loman and @paul_kapeller,
We have integrated DT with the market leader business process mining tool Celonis. We have analyzed a mobile app (with DT and Celonis), which serves a bank onboarding process where the client can open an account on the mobile phone similar to Revolut. The process is quite complicated (however it should be simple ;-)).
First problem was with the the useraction limit (200) within a session. Sometimes a client could have 3-4 sessions (eg. 200 + 200 + 200 + 150). Do not ask why it is a "feature".
In order to see the full user journeys (different flows or paths) we had to connect the usersessions. Then we could create such a diagrams, in our case useractions were the process steps.
It is a sample Celonis business process flow (not the mentioned onboarding process)
So we were able to extract the useractions and the reported user errors via the api (as a "business process step"). But we could not extract and connect the web request erorrs to the affected useractions, becasue the web request errors are not useractions and events (similar to reported errors).
It would be interesting for us because the clinet would like to know that: Were there any web request error at the client last useraction - "process step"? What was the webrequest error at the last user action? Were there any pattern regarding this?
I hope it is more clear for you.
@Julius_Loman: Thanks for the guidance I have already known these steps.
Have a nice day.
Best regards,
Mizső
03 Nov 2022 10:21 AM
Hello Mizső,
You can try to use via USQL and automatize the detection via API REST User sessions GET :
"Only logged user sessions containing HTTP errors on specific page" :
SELECT count(DISTINCT usersession.userSessionId) AS "# of logged users", useraction.name AS
"HomePage", usersession.userId AS "Single user", useraction.requestErrorCount AS "# of webrequests error" FROM useraction where application IS "app name" AND useraction.name is
"all_booking_funnel_homepage" and useraction.requestErrorCount > 0 AND usersession.userId IS
NOT NULL group By useraction.name, usersession.userId, useraction.requestErrorCount ORDER BY
useraction.requestErrorCount DESC
or All sessions included on all pages having at least one error following error message :
SELECT count(*) AS "# of users", useraction.name AS "Page",usererror.name AS
"error message" FROM usersession where useraction.application IS "app name" AND
userType IS "REAL_USER" group By useraction.name, usererror.name