Replies: 1 comment
-
If you want to check if a field is exist in a fact, just simply access that fact in the when, if the fact exist, it will be evaluated. If not, the then section will not be executed. If you want to have something more sophisticated, you can add an object with your custom function into the context and use that function to work with your json. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im using something like
How I can chein by the rule if the field for example "field1" exist in this JSON?
Beta Was this translation helpful? Give feedback.
All reactions