英文:
Nifi equals condition doesnt match
问题
为什么第一个条件总是被跳过
${name:equals('xxx'):not():or('zzz'):not():or('aaa'):and(${number:equals(1)})}
是
${name:equals('xxx')
被NiFi跳过了吗
无论哪个条件排在第一位,处理器总是跳过它
有关我可以做什么的任何建议...
英文:
Why the first condition always is skipping
${name:equals('xxx'):not():or('zzz'):not():or('aaa'):and(${number:equals(1)})}
Is
${name:equals('xxx')
skipped by NiFi
It doesn't matter which one condition is first always skipped by the processor
Any suggestions on what I can do ...
答案1
得分: 1
我建议这个表达式(查看 https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#or):
${name:equals('xxx'):not():or(${name:equals('xxx'):not()}):or(${name:equals('aaaa'):not()}):and(${number:equals(1)})}
英文:
I suggest this expression
(check https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#or):
${name:equals('xxx'):not():or(${name:equals('xxx'):not()}):or(${name:equals('aaaa'):not()}):and(${number:equals(1)})}
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论