What is the difference between interactive and non interactive sessions in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2020 10:42 PM
In flow designer in the trigger point in advanced options we have run for interactive sessions and non interactive session.
Can anyone explain me ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2020 10:47 PM
Hey Priya,
Only Run for Non-Interactive Session:
Flow that is only triggered in non-interactive sessions. See Non-interactive sessions.
Only Run for User Interactive Session:
Flow that is only triggered in interactive sessions.
Interactive users:
New users added to the instance automatically become interactive users.
Non-interactive users:
Non-interactive users can only use their credentials to authorize API connections such as JSON, SOAP, and WSDL. They cannot log in to the ServiceNow UI.
Refer the links below, you will get a clear idea:
Mark Correct and Helpful if it helps!!!
Best Regards,
Namrata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2020 10:56 PM
Hi Priya,
In addition to Namrata.
Glide System method 'isInteractive' returns false in ServiceNow mobile application although user has logged in using userID, password from login screen in mobile UI and the session is active.
GlideSystem API (gs.isInteractive()) returns false when user logs in using mobile application
The isInteractive() method checks if the current session is interactive. An example of an interactive session is when a user logs in using the log-in screen. An example of a non-interactive session is using a SOAP request to retrieve data.
To know more about this API refer isInteractive() - Developer API
However, this method always returns 'false' for a user who is logged in using ServiceNow mobile application. The reason is that the mobile interface all use REST API calls to get their data and as there's no persistent session, (which is the definition of interactive).
Example
In general, the method isinteractive() is used in business rules to determine if it is as an actual user [or] a web service call that is performing an update/insert action on a table. But we should be wary of using this on mobile since it always returns false.
If it helps then please mark my answer Correct and Helpful.
Vishakha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2020 09:54 PM
Hey Priya,
Any update on this?
Regards,
Namrata.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2020 10:04 PM
Follow the below link:
Thanks
Sudhanshu