Answered

collection filter combi AND OR

Hello,

Could please give an example of filtering a collection with a combination of AND and OR.

See http://help.bizagi.com/bpm-suite/en/index.html?filtering_xpath.htm : You can compose a number of conditions in a filter with the logical operators "AND" and "OR". Within the filter don't use parenthesis.If parenthesis are needed you must use the function Me.getXPath("")

In short, what is the correct syntax for this filter:

[ A AND (B OR C)]

Thanks,

Comments (1)

photo
1

Dear Justin,

Regarding your question, you need to follow the same logic that DBA uses in database queries. That means:

[A AND B OR C].

Regards