Developing a scripted rule involves writing Jython code to create the data objects and execute the methods and other calculations that will produce a desired release limit to be returned by your rule. It is important to note that a scripted rule is essentially a Release Function rule; thus, the rule must return a desired "release" value and an associated "Limit Type" for that release value. The limit types are Maximum, Minimum, and Specified.

The code development process has been simplified somewhat by two things: the scripted rule template and the API tree. The API tree is described in the previous section and the template is described below: