Giter Club home page Giter Club logo

Laurens Brand's Projects

check-your-update-set-for-the-latest-version-of-all-objects icon check-your-update-set-for-the-latest-version-of-all-objects

Sometimes it happens that you touch the same business rule/script include/client script in multiple update sets. You might end up with not the latest version if you loose the order in which they have to load on another instance. This script will check your update set if you it has all the latest versions. If not then you can decide to refresh the update set by touch the object again. It will use the sys_mod_count of records to compare.

createincidentcstoservicenow icon createincidentcstoservicenow

This is an example C# command line programm that will take 5 input parameters which will be used to create an ServiceNow incident using REST API.

employee-manager icon employee-manager

Employee Manager is an application build on top of the ServiceNow platform and allows small businesses to manage their most important asset; their staff. Keep track of employee information, salary history, benefit information, un/paid time off and more! See the Wiki for functionality/screenshots.

prevent-others-from-making-changes-until-update-set-is-completed icon prevent-others-from-making-changes-until-update-set-is-completed

This script include when called from a write ACL script will only grant write access if the record is not part of an open update set, other then your own or if the last update was made in the Default update set (which is alwauys open). In an write ACL of for isntance sys_script_include disable the "Admin Overrides" checkbox (mandatory for this whole check to work) and add the following code to the script field of the ACL: answer = new UpdateSetChecker().checkAllowedWrite(current); See attached screenshot of what happens if you try to edit an object which is part of an open update set. This whole setup works best if you only start close update sets untill you are finished with all the update sets for a release. Or you put the finished update sets in the status Ignore untill you are ready to transport them to QA/PROD. If you want you could even create a new status for the update set, like pending or ready. Anything different from the state Complete.

ui16-enlarge-your-update-set-picker icon ui16-enlarge-your-update-set-picker

The update set picker is forced to 120px wide which is small if you like to use meaningful update set names. The attached (global) UI Script will enlarge it to 300px which should be sufficient for most update set names. Tailor it to your own needs if needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.