Welcome to part 4 of my advanced MID Server series, this time we’re going to do things a little differently. At the bottom of this post you’ll find a fully prepared MID Server Script Include that will provide file management operations. The rest of this post will explain how to use the script, both directly […]
Here’s why you SHOULD be using getRowCount()
OK, calm down. I’m not here to promote the use of the getRowCount method over GlideAggregate., but there has been a long running misunderstanding here. getRowCount is not the evil method it’s been made out to be, but using it incorrectly can certainly lead to performance degradation of an instance, especially where larger result sets […]
Advanced MID Server Series – Part 3 – Standard MID Server classes
Introduction The MID Server’s script environment provides a number of classes available to the developer beyond that of the MID Server Script Includes that you see in platform. If you’ve taken some time to explore the MID Server Script Includes, you’ll probably have noticed that most of them are dedicated to discovery and orchestration. This […]
Workspace Redirect from records in the Core UI
Workspaces in ServiceNow have revolutionised the way fulfillers work on tasks in ServiceNow. The platform provides a feature to redirect users to a workspace when they log in, however it doesn’t prevent them from using the Core UI to access records in the platform. As we all move over to workspaces, so does the ServiceNow […]
Advanced MID Server Series – Part 2 – A Better JavascriptProbe
Introduction Welcome to the second post in the series of articles looking into Advanced MID Server solutions. At the end of the last post we learned how we can use the JavascriptProbe Script Include to initiate the execution of a script on the MID Server. In this article we will be creating our own version […]
Advanced MID Server Series – Part 1 – Scripting Deep Dive
Introduction In this series of posts, we are going to take a look at some more of the more imaginative use cases for the MID Server. To start our series, and to provide a solid foundation to build upon for future posts, we will cover MID Server scripting. The MID Server scripting environment, like the […]