Page History
...
- Expressions are evaluated per Subagent & job and must return numeric values. Expressions can return a missing value indicating that the related Subagent should not be considered.
- The Subagent with the lowesthighest priority value including negative numbers will be used for the next task.
- If the expression evaluates to missing values for all Subagents in the Subagent Cluster, then job execution will be deferred and evaluation of the expression will be repeatedly performed with a 1s interval. Orders waiting for a Subagent to become available for job execution are displayed with a waiting state.
Examples:
Expression | Meaning |
---|---|
-$js7SubagentProcessCount | Example for consideration of the Subagent with the least number of tasks running for any Subagent Cluster that the Subagent is a member of. |
-$js7ClusterSubagentProcessCount | Example for consideration of the Subagent with the least number of tasks running for the given Subagent Cluster. |
if $js7SubagentProcessCount == 0 then 1 else missing | Example for conditional use of a Subagent if it does not run any tasks. |
if $js7ClusterSubagentProcessCount == 0 then 1 else missing | Example for conditional use of a Subagent if it does not run any tasks in the given Subagent Cluster |
if $js7SubagentProcessCount = < 10 then -$js7SubagentProcessCount else missing | Example for conditional use of a Subagent if it runs fewer than 10 tasks. |
if $js7ClusterSubagentProcessCount = < 10 then -$js7ClusterSubagentProcessCount else missing | Example for conditional use of a Subagent if it runs fewer than 10 tasks for the given Subagent Cluster. |
| Example for least consumption of CPU weighted by 2, free Memory and the least overall number of tasks running in the Subagent weighted by 3. |
...
Overview
Content Tools