Skip to main content

BoundTask

Bound the running result to an upper/lower bound. This is typically the last task in an OracleJob.

Input: The current running numerical result.

Returns: The running result bounded to an upper or lower bound if it exceeds a given threshold.

Example: Bound the running result to a value between 0.90 and 1.10

{
"boundTask": {
"lowerBoundValue": "0.90",
"onExceedsLowerBoundValue": "0.90",
"upperBoundValue": "1.10",
"onExceedsUpperBoundValue": "1.10"
}
}


Fields

NameTypeDescription
 lowerBound

The OracleJob to execute for the lower bound value.

 lowerBoundValue

string

The value to use for the lower bound. Can be set to a ${CACHE_KEY}.

 onExceedsLowerBound

The OracleJob to execute if the lower bound is exceeded.

 onExceedsLowerBoundValue

string

The value to use if the lower bound is exceeded. Can be set to a ${CACHE_KEY}.

 onExceedsUpperBound

The OracleJob to execute if the upper bound is exceeded.

 onExceedsUpperBoundValue

string

The value to use if the upper bound is exceeded. Can be set to a ${CACHE_KEY}.

 upperBound

The OracleJob to execute for the upper bound value.

 upperBoundValue

string

The value to use for the upper bound. Can be set to a ${CACHE_KEY}.