Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example blackbox using the value of Lead time (days) could look like this

...

Code Block
languagejs
// Lead time intervals
const intervals = [8, 60]

// Reading lead time from the property
const leadTime = variables.custom.leadTimeExact
if (leadTime === null) return null

return mapInterval(leadTime, intervals[0], intervals[1])


Scores