- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-05-2020 06:14 PM
I am trying to setup one prototype where it's condition will accept indicators with share levels of both green AND amber. I don't want to create a seperate prototype for every share level combination of color and confidence..
I would like to just say "if the confidence is >75 AND share level is either green or amber, then accept the indicator. Is this possible?
Something to this effect:
infilters:
- actions:
- accept
conditions:
- __method == 'withdraw'
name: accept withdraws
- actions:
- accept
conditions:
- confidence > 75
- share_level == 'green', 'amber' <- syntax here is where I am unsure
name: accept confidence > 75 and share level green or amber
- actions:
- drop
name: drop all
11-24-2020 10:27 AM - edited 11-24-2020 10:27 AM
I am having a similar issue as well with the multiple contains values. Were you able to find a solution?
infilters:
- actions:
- accept
conditions:
- __method == 'withdraw'
name: accept withdraws
- actions:
- accept
conditions:
- contains(`["A", "B", "C"]`, alphabet_letters) == true
name: ABC Only
type: IPv4
- actions:
- drop
name: drop all
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!