Custom Workflows with JavaScript

Javascript Workflows

JavaScript Example

Although your KeyServer contains a wealth of information about the computers on your network (and the software installed on them), some read/write actions can only be performed one-at-a-time in the default interface. But did you know that KeyConfigure allows you to install custom JavaScript “plug-ins” that will perform bulk actions all at once? Not only can you build your own (click here for instructions), but a list of general use scripts we’ve created is available on our website here.
To give you an idea of the kinds of actions and custom workflows that can be built with JavaScript in KeyConfigure, here are a few examples from the page linked above:
  • The List Computers script will take a list of computer names from a text file and open a new window containing the associated computer records.
  • After “selecting” a list of computers with the script above, the Move Computers script allows you to change the Login Type, Division, Lifecycle Stage, and/or Anchor status for the listed computers en masse.
  • Like a “Reverse Audit” report, the Computers Without Product script allows you to list all the computers on your KeyServer that do not have a selected product installed.
  • Brand new are the Gather Dell Dates and Lookup Lenovo Warranty Date scripts, which allow you to retrieve and populate warranty date fields in KeyServer for selected computers, by automatically querying the manufacturer’s website with the required serial numbers.
  • If you have a number of computers that you want to remove a tag from, but don’t want to delete the tag from your system entirely, the Remove Tags script allows that bulk action.
Many other pre-built scripts are available as well. Just click the Install link next to the script you want to download and install it directly into KeyConfigure locally, or onto the KeyServer itself, with just a couple of clicks. If you have any questions about how to use any of the scripts provided, or if you have an idea for a script that you’d like to build and have questions or would like guidance, feel free to reach out to us at support@sassafras.com, or call us at 603-643-3351.
Training and implementation specialist by day, user experience designer by night, Jason helps users learn the ropes of Sassafras, while mining their difficulties for ways to improve the product. As his father once told him: “Join me, and I will complete your training. With our combined strength, we can end this destructive conflict and bring order to the galaxy!”

Leave a Reply

Your email address will not be published. Required fields are marked *

Get started

If you want to get a free consultation without any obligations, fill in the form below and we'll get in touch with you.

Live Demo

  • Sassafras will not share your personal information, period. We take privacy seriously. You may opt out of our communications at any time.