Hello,
I want to get the element of an array called 'Choix menu SVI' at the position "i" and check if it is equal to '9'. I tried this bit it does not work. How can I do that ?
if(event.get('Choix menu SVI'[i]))=='9'
event.set('Motif','Joindre';
end
Hello,
I want to get the element of an array called 'Choix menu SVI' at the position "i" and check if it is equal to '9'. I tried this bit it does not work. How can I do that ?
if(event.get('Choix menu SVI'[i]))=='9'
event.set('Motif','Joindre';
end
Try this one
if event.get('Choix menu SVI')[i] == '9'
event.set('Motif','Joindre')
end
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.