ServiceNow, Inc.
SYSTEMS AND METHODS FOR PROVIDING MULTIPLE CONSOLE SESSIONS THAT ENABLE LINE-BY-LINE EXECUTION OF SCRIPTS ON A SERVER APPLICATION
Last updated:
Abstract:
Systems and methods are disclosed that provide multiple mutually exclusive console sessions to execute server-side scripts in parallel. In particular, a cloud-based platform receives an indication that a console session is instantiated from, a client device. The platform then generates a thread having a unique identifier. The thread corresponds to a background job performed on the platform. The platform determines whether an input queue associated with the unique identifier has an input. If so, the platform evaluates the input and writes a resulting output to an output queue associated with the unique identifier. The client device then prints the input and the resulting output to a console user interface associated with the console session, and removes the input from the input queue. In some embodiments, if the input queue stores no inputs for a threshold period of time (e.g., a timeout period), the platform ends the thread.
Utility
30 Apr 2018
31 Oct 2019