TUESDAY, FEBRUARY 07, 2012

Posts Tagged ‘Script includes’

I‘ve seen a couple of requests recently for a capability to record actual, hand-drawn user signatures. There are probably several uses for this type of thing, but usually the requirement has something to do with a field service technician completing work in the field, and then being able to get a customer to sign indicating that some work was performed. This functionality doesn’t exist in ServiceNow, but it can be added thanks to a very cool jQuery plugin called ‘Signature Pad‘. I’ve incorporated this jQuery solution into a UI page/Dialog-based solution for use with regular ServiceNow records and forms. Read on for more information about the SNCGuru SignaturePad update set!

Signature Pad

Learn more ...

ServiceNow provides various methods for logging users into an instance. Local login, LDAP, SAML, and Digested Token are all used pretty regularly by customers. One thing that is often requested, but usually not successfully addressed, is the need to have the logged-in user accept some terms or conditions of use before they are allowed to use the system. The solutions attempted before usually suffered from a variety of issues ranging from overly-complex modification of one or more installation exits to being able to easily bypass the terms page entirely. In the end, these solutions seemed to be broken on some level. As we’ve seen requests for this type of functionality increase over the past few months, Jacob Andersen (who developed almost all of the integration and SSO information at SNCGuru) and I decided to collaborate to create a solution that actually works!

Login Terms Acceptance

Learn more ...

R

eference qualifiers are a powerful tool that every ServiceNow administrator and consultant should have in their tool belt. They allow you to dynamically filter the available options from a reference field. The ServiceNow wiki has some good documentation on this topic so I won’t re-hash that here. What I do want to address is the topic of Advanced Reference Qualifiers…specifically how to leverage a Script Include instead of a global Business Rule to run your qualifier script.

Reference Qualifier Script Include

Learn more ...

Reporting in Service-now.com is usually very simple. One challenge I’ve seen before with the Service-now reporting interface is that it displays a lot of tables to most users as tables they can report on. The list of reportable tables is controlled by system security ACLs. If a user can read a table in the system they can also report on that table. There are many cases where users need to be able to read from a table in order for the system to work correctly for them, but you may not want users running reports on that table just because they see it as an option in the reporting interface. I’ve created the Restrict Report Tables update set as a solution to this problem. It gives Service-now report administrators granular control over which tables in the system show up as selectable options in the report interface.


Before

After

Learn more ...

Instances running on Spring 2011 releases may notice an issue with this functionality where the counts do not display correctly in Firefox. If you’re experiencing this issue you can use the contact form to request the patched business rule fix.

One common request I’ve heard a lot from customers and on the Service-now forums is to add the ability to present list modules in the left navigation pane along with a count of records from the corresponding list query. This functionality is something that we’re all pretty familiar with since it’s a standard part of most email clients (including Microsoft Outlook and Entourage).

A few months ago I (along with a few other people) worked on a bit of code that brought this functionality to Service-now. While it was a cool idea and it seemed to work okay at first glance, the solution was very performance-intensive and pretty buggy. Slow page load times, left navigation hanging, and other issues were a frequent occurrence. As a result, if anybody asked me about the solution I told them not to use it. I just had another request for this the other day and thought I’d take another crack at a solution. After several hours of work and a fair amount of testing I’ve come up with the Outlook-style Module Counts update set.

Learn more ...

One of the great features of Service-now.com is its CMDB and relational mapping.  You can easily set up relationships between any CIs in the system.  Once the relationships are defined, it becomes very simple to pull up a visual representation of a CI and its dependencies by using Service-now BSM maps.  Using this feature allows an end user to look at that CI and identify what else in the environment is impacted by an outage or a change to that CI.

Learn more ...

S

ervice-now.com provides a very robust and simple way to manage your tasks and approvals (among other things) through its graphical workflow engine.  It is very common to use graphical workflow to help facilitate some change management process within your organization.  One common requirement in change management is to be able to cancel or close the change request at any time during the process.  “Simple”, you say.  “Just allow the user to change the value of the ‘State’ field to ‘Closed’.”

You would not be incorrect in saying something like that, but you would be forgetting about part of the problem with closing or canceling a change request or other task ticket.  What if the attached workflow(s) still think that the change request and its associated tasks and approvals are still in progress?  Should the attached workflow context(s) continue to run indefinitely?  If your workflow doesn’t have a way to know about the completion of the change request then it will continue to run (or more likely just sit and be forgotten).

Learn more ...

Latest Comments

  • Mark Stanger: This functionality doesn’t connect to an FTP server. See this line in the post above…...
  • Mark Stanger: The report page is back-end XML so there’s no way to directly manipulate the behavior of that...
  • Mark Stanger: Due to some ServiceNow limitations, the localhost MID server option had to be removed.
  • Matt Haak: Is it possible to use this with the local Mid Server (mid.server.localhost) It appears from this community...