GlideSession - isInteractive()

Determines if the current session is interactive.

An interactive session is one that involves an end-user interacting with a user interface that then retrieves information from a server. An example of this type of session is when a user logs in using the log-in screen or uses a form to query a data store. A non-interactive session is one that only involves programmatic interaction with a server such as a SOAP request to retrieve data.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Boolean True if the session is interactive.

Scoped equivalent

To use the isInteractive() method in a scoped application, use the corresponding scoped method: Scoped GlideSession - isInteractive().

var interActive = gs.getSession().isInteractive();;