Hey guys!
I am using my scripts on many servers...
Example:
Preprocessing contain a JSONPath like
Recently on some nodes I have different output, but I don't want to duplicate dozens of scripts and templates.
I'm looking for a way to pass to the next JSONPath if the first one doesn't contain those keys.
A "Custom on fail" -> "Set value to" -> SOURCE would be ideal, but it seems to be not possible.
Is there a solution, a unique JSONPath with both, something with JS, or other?
Thank you !!
I am using my scripts on many servers...
Example:
Preprocessing contain a JSONPath like
Code:
$.status.value
I'm looking for a way to pass to the next JSONPath if the first one doesn't contain those keys.
A "Custom on fail" -> "Set value to" -> SOURCE would be ideal, but it seems to be not possible.
Is there a solution, a unique JSONPath with both, something with JS, or other?
Thank you !!
Comment