isParameterEqual v0.0.3

Verifies if the node has returned a given rawData parameter. If exists, it will return YES if the given rawData parameter equals (==) the given value, otherwise it will return back state NO.

Input parameters are:

  • node for which we want to check the if the raw parameter is available
  • parameter of the rawData response or JSONPath expression
  • value to check for equality

Examples of parameter entries: rawData : { “hello” : {
randomValue: 5, state: “True” , array: [“hello”, “world”], items : [{ name :‘vele’}], data: [{temperature:21}, {temperature:24}] } } and input parameter can be something like this (they would all return YES):

  • randomValue
  • state
  • array contains hello
  • items[?(@.name == ‘vele’)]
  • data[?(@.temperature === 21)]
  • data[?(@.temperature &gt 21)]

Required properties:

  • node
  • parameter
  • value

States:

  • YES
  • NO

Raw data:

  • value (double)