Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Detect user working in UI or Service Portal

Stijn Verhulst3
Kilo Guru

Hi everyone,

does anyone know whether it's possible to detect whenever a user is switching between the classic UI and the Service Portal (not login & logout)?

Kind regards,

Stijn

12 REPLIES 12

DirkRedeker
Mega Sage

HI

What do you mean with "detect"?

What is your target, you want to reach?

Just let me know.

BR

Dirk

DirkRedeker
Mega Sage

Hi

Anyhow, if you want to review, what a given user is doing, you can analyze the entries in the "User Session Log" (stored in the database table "Transaction Log Entry" [syslog_transaction]).

There are entries per user "created by" and time they did that. You can review, if that happened within the same session by filtering records to the "Session" and "Session ID" columns.

The filed "Type" may be a good indicator of what happened, in combination with the column  "URL".

You also may want to have a look at all currently logged in users, which you can find in the table view "Logged in User" [v_user_session].

(or by navigating to "> User Administration > Logged in users")

 

Let me know if that answers your question and mark my answer as correct/helpful.

BR

Dirk

Hello dirk, 

 

Based on above topic i have a below requirement ;-

 

Automatic assignment of Source = "Portal"
-- When employees report SIRs via sir.boat.com (Portal), the source should automatically be set to "Portal".

 

- Similarly if any SiR analyst raise incident from classic Ui the source should be set to backend.

 

note:- We have portal and backend choices in Source field.