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 […]
Reference qualifier for Assessment Metrics – no query business rules required!
Ever found yourself needing to add a reference qualifier to an assessment metric with a data type of “Reference”? If you answered yes to the above, then you’ll know what a pain it is to do this as it involves creating a query business rule that only executes when the “sysparm_target” URL parameter value contains […]
Workspace Modals – Working with UI Pages
As workspace adoption grows, so does the need to migrate existing functionality from the Core UI to Workspace. As much as we’d all love to spend the time recreating all of our custom modals in UI Builder, it’s often just not practical during an MVP stage migration to Workspace. This means we are often stuck […]
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 […]
Meta APIs – The low-code/no-code of API development?
Generative AI took the internet by storm in late 2022 when OpenAI released ChatGPT to the public. Since then, it has been a foot race for companies to incorporate Generative AI into their products, mainly driven by customers wanting to take advantage of this emerging technology. It’s hard to go even a day without someone […]
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 […]
MID Server Script Include – Default Script
If you’ve worked with MID Server Script Includes, you’ll know how frustrating it is that the script does not auto populate with a default script when you set the name of the MID Server Script Include. Below you’ll find a simple client script, based on the ServiceNow provided script for platform Script Includes. You should […]