måndag 14 mars 2016

Fire an email notification from a schedule job

This question popped up in the community and I thought I might as well put the answer here as well. Question was how you could check if the valid to date is 30 days from now and then send a notification to the KB managers.

söndag 6 mars 2016

How to make 2 condition sets inside one script.

Sometimes you want to do a query where you want the records that match either at least one of two sets of conditions. There is a couple of ways, some easier than others and some easier to setup but harder to maintain etc. Here I give you a couple of examples.

måndag 29 februari 2016

Never use current.update in a Business Rule

The more I read about Business rules I notice that they are being used the wrong way by many people. Every rule has it's exceptions and I bet there is one here as well. But I can say that I haven't yet come up to a reason why you should use current.update in a Business Rule. I written a post about this and Business rules in general.

måndag 22 februari 2016

Having knowledge public with Version 3

As some of you may have noticed, upgrading to knowledge version 3 made a big impact by making it impossible to have the a knowledge base "real" public. What I mean with real public is that user can use the knowledge base without having to log in first. This was possible in version 2, but right now in version 3, the user need to be logged in, even if the user doesn't have any roles.

This was a critical problem for us since we had a deadline to migrate our current knowledge base into Servicenow. Here is the solution.

fredag 19 februari 2016

Import Word doc is finally here!

Finally we are able to import word documents with pictures into knowledge articles with an build in functionality.

This has been an issue for me and spend many hours trying to get the scripts found in the community to work for us in Fuji and it doesn't work flawless...

But now the hero has arisen. In Geneva,  ServiceNow has heard the voices of the community and added the function to import a word document to a knowledge article with a few clicks.

torsdag 18 februari 2016

Extend the time on your personal developer instance

We all know that our free personal dev instances have a limit of 10 days of inactivity, then it's returned to the pool and it's a pain to try and get a new one. Solution for many has been that once a week go in and do something, like create a client script. This just so your counter for inactivity should be reset. Well, now they have made a new function which help with this.

måndag 15 februari 2016

Part 3 - Giving the service status a nicer look.

On the last part I build the page without giving to much into how the whole thing looked. Now I had some time to look into this and also taken some help from colleagues with more eye for design than I will ever have. I also thrown in some HTML-fields and client script to automate the function of Valid to. This is how I did it.