In this case, string matching is evaluated each for some action 1 and some action 2.
The condition should be evaluated only one for the configuration as:
- It can be a problem if there is a condition with side-effects.
- Users can expect the condition will be evaluated only once as they configured that only once in the configuration page.
- Users can configure like this if they really want the condition evaluated for each time: