ACR Rules

  1. Home
  2. Docs
  3. ACR Rules
  4. Performance (29)
  5. Not/or expressions in XPath should be avoided when the path goes over an association

Not/or expressions in XPath should be avoided when the path goes over an association

Introduced in version 1.6 (21 February 2020)

This is a known performance issue. If possible replace it with separate simple retrieves and list operations.

For more information check the Mendix best practices for XPath performance or this excellent webinar.

Non-compliant example:

Compliant example: