What is the difference between interactive and non interactive sessions in servicenow

Priya Shetty
Kilo Contributor

In flow designer in the trigger point in advanced options we have run for interactive sessions and non interactive session.

Can anyone explain me ?

6 REPLIES 6

Gaurav Shirsat
Mega Sage

Hi Priya

I would like to add my views on this Thread along with Namrata and Vishakha.

An interactive user session means that the user manually logged in using the sign-in screen. On the other hand, if it was a REST API or SOAP call that triggered the server-side script, the session is not considered to be interactive.

A server script may get executed depending upon the database operation or some event. At times, it might be required to determine whether the script being executed is for an interactive user session. An interactive user session means that the user manually logged in using the sign-in screen. On the other hand, if it was a REST API or SOAP call that triggered the server-side script, the session is not considered to be interactive.

gs.isInteractive(); //returns true if the session is interactive

https://hi.service-now.com/kb_view.do?sysparm_article=KB0719429#:~:text=The%20isInteractive()%20meth...

During Non-interactive authentication, the user does not input log on data, instead, previously established credentials are used. Non-interactive authentication is performed when an application uses the Security Support Provider Interface (SSPI) and a security package to establish a secure network connection.

 

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat

Nicely explained!!