Designing and Implementing Business Process Models 10.4 | Designing and Implementing Business Process Models | Business Rules Reference | Functions | Summary of List and Range Functions
 
Summary of List and Range Functions
 
boolean inList(String[] list)
boolean inList(String[] list, boolean ignoreCase)
boolean inRange(Date lowerBound, Date upperBound)
boolean inRange(Date lowerBound, Date upperBound, Date[] exclusions)
boolean inRange(Date[][] listOfRanges, Date[] exclusions)
boolean inRange(Date[][] listOfRanges, boolean inclusiveLower, boolean inclusiveUpper, Date[] exclusions)
boolean inRange(Double lowerBound, Double upperBound)
boolean inRange(Double lowerBound, Double upperBound, Double[] exclusions)
boolean inRange(Double[][] listOfRanges, Double[] exclusions)
boolean inRange(Double[][] listOfRanges, boolean inclusiveLower, boolean inclusiveUpper, Double[] exclusions)
boolean inRange(Long lowerBound, Long upperBound)
boolean inRange(Long lowerBound, Long upperBound, Long[] exclusions)
boolean inRange(Long[][] listOfRanges, Long[] exclusions)
boolean inRange(Long[][] listOfRanges, boolean inclusiveLower, boolean inclusiveUpper, Long[] exclusions)
boolean inRange(String lowerBound, String upperBound)
boolean inRange(String lowerBound, String upperBound, String[] exclusions)
boolean inRange(String[][] listOfRanges, String[] exclusions)
boolean inRange(String[][] listOfRanges, boolean ignoreCase, boolean inclusiveLower, boolean inclusiveUpper, String[] exclusions)
object list createList(Object[] list)
object list appendToList(Object[] list, Object item)
object list insertIntoList(Object[] list, Object item, int position)
object list removeFromList(Object[] list, int position)
webMethods Rules Development provides predefined list and range functions as listed in the following table:
Function
Returns
Description
Boolean
Indicates whether or not this string is in the specified list.
Boolean
Indicates whether or not this string is in the specified list. Case sensitivity can be ignored while checking.
Boolean
Indicates whether or not this date is within the specified range.
Boolean
Indicates whether or not this date is within the specified range. Exclusions can be specified.
Boolean
Indicates whether or not this date is within the specified list of ranges. Exclusions can be specified.
Boolean
Indicates whether or not this date is within the specified list of ranges. Exclusions and inclusion of lower and upper end of range can be specified.
Boolean
Indicates whether or not this floating point (double, float) value is within the specified range.
Boolean
Indicates whether or not this floating point (double, float) value is within the specified range. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this floating point (double, float) value is within the specified list of ranges. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this floating point (double, float) value is within the specified list of ranges. Upper and lower end of list can optionally be included. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this integer (long, integer, short) value is within the specified range.
Boolean
Indicates whether or not this integer (long, integer, short) value is within the specified range. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this integer (long, integer, short) value is within the specified list of ranges. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this integer (long, integer, short) value is within the specified list of ranges. Upper and lower end of list can optionally be included. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this string is within the specified range.
Boolean
Indicates whether or not this string is within the specified range. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this string is within the specified list of ranges. A separate list of exclusions can be provided.
Boolean
Indicates whether or not this string is within the specified list of ranges. Upper and lower end of list can optionally be included. A separate list of exclusions can be provided. Case sensitivity can be ignored while checking.
Object list
Creates a list from an array of items.
Object list
Appends an item to the end of a list.
Object list
Inserts an item into an existing list at the specified position.
Object list
Removes an item from a list at the specified position.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release