Help in Alert using watcher

can you be more exact what you refer to as the model in action section of the alert? If you mean, you want to iterate through the result set, when sending an email for example, then you would not use painless but mustache for looping through this.

For examples how to do this, check out the Alerting part in our examples repository.