How do I write a trigger/filter with an OR logic

This is a valid way of writing a trigger with an OR logic?

[ {“form”:{"@xmlns":“http://openrosa.org/formdesigner/23296577ac3c55d2c1cc9249ad3afcde228fa0e1"}},{“form”:{"@xmlns":"http://openrosa.org/formdesigner/4f2e11e3ac65b448d23a81d0706e39c9a5e63af5”}} ]

Or must I explicitly indicate the differentiator for the two form?

Hi Matthew,

“Message Filter” triggers currently work only with “AND” logic. ( .) If you’d like a single job to process multiple forms, it would be best to pick out a key:value pair that is identical for submissions from both forms. As you’ve pointed out, you could achieve this by selecting a boolean that you use to group those forms together.

In CommCare, why not have a hidden form field called “send_to_job_x” that is set to TRUE for both forms whose submissions you’d like to trigger job x. Let me know how this goes, or if you’d like any additional guidance.

Also, might I suggest that you open this as a feature request here: https://github.com/OpenFn/docs/issues. If enough people support the idea, we’ll be able to prioritize it on our roadmap!

Thanks for reaching out. Speak soon.

Taylor