Revision as of 14:44, June 27, 2017 by Bonniem (talk | contribs) (Created page with "= Threshold Functions= IRD's Selection object, General tab, supports the option of using threshold functions in strategies. Threshold functions, which use threshold expression...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Threshold Functions

IRD's Selection object, General tab, supports the option of using threshold functions in strategies. Threshold functions, which use threshold expressions, allow you to perform conditional routing without the need to configure“looping” in complex strategies. This is useful when a strategy is required to perform many calculations instead of just comparing a few values.

Run Function

Use the run function to extend skills/thresholds expressions with strategy logic.

Tip
Prior to ORS 8.1.400.61, the run function was previously undocumented. This function is in addition to the existing threshold functions.

The run function allows the use of a threshold script (such as a subroutine) in addition to a “threshold expression”. For example, a threshold expression such as run[SomeSubroutine, Target, ExtraData] will return 1 (meaning it is Ok to route) if SomeSubroutine applied to provided data will return 1. If the subroutine returns 0 then entire threshold expression also returns 0 (routing is not allowed)

Existing Threshold Expressions

You can use the following functions in threshold expressions (all lowercase):

[+] sdata



[+] acfgdata



[+] callage



[+] lcfgdata



Comments or questions about this documentation? Contact us for support!