netweaver:nodes:crisp_argument

The crisp argument is used to derive a trueness level from a data link (either simple or calculated) by comparing its expression to the data link's value. It returns true, false, or undetermined.

The crisp argument is composed of any number of operator-operand pairs. The results of each pair are logically “ANDed” together for the final result.

See also the fuzzy argument.

Operands can be either numeric or string (text). NetWeaver makes automatic conversions from one to the other when it is necessary.

The following operators are valid for either numeric or string operands. If the operand and data link value are numeric or convert to valid numeric values then the evaluation is straight forward and proceeds as a numeric comparison. If the operand or data link value do not both convert to valid numeric values then the operation is performed as a string comparison: the comparison is done on their respective alphabetic sort order.

Symbol | Description |
---|---|

`<` | less than |

`<` `=` | less than or equals to |

= | equals |

`>=` | greater than or equal to |

`>` | greater than |

!= | not equal to |

These operators are valid only for string operands and values. If these operators are used then the operand is first converted to a string.

Symbol | Description |
---|---|

is in | the operand is a substring of the data link's value |

contains | the data link's value is a substring of the operand |

Operator-operand pair examples where x is the value (either numeric or string) of the data link:

operator | operand | meaning - “the argument is true if:“ |
---|---|---|

`<` | 3 | x is less than 3 |

`<` | bob | x precedes 'bob' when ordered alphabetically |

is in | constantinople | x is a substring of 'constantinople' |

contains | ant | 'ant' is a substring of x |