Skip to main content
Nintex Community Menu Bar
Question

Order of models in list - Query Precedence?

  • Jul 9, 2024 5:12 PM UTC
  • 2 replies
  • 27 views
  • Translate All

Forum|alt.badge.img+7

Kind of an observation, but kinda a question.
The order of models is important if one model uses a field from another.(?)

I have a queue/detail screen. I want the queue to filter based on running user information.
So I have a RunningUser model which pulls in the fields I want, and to keep it out of the way, I had it at the bottom of the Models list.

So I modified the queue model condition to use a field on RunningUser, but it never worked.

until… I moved RunningUser to the top of the model list. (Being able to re-order the models, kinda tells me that it’s important)

So the order of models is important.(!)

Is this the way it’s supposed to work?  I looked around but my queries failed to find any documentation of this. (granted I just queried the conversations and did a quick look at the model tutorial)

Thanks


2 replies

Forum|alt.badge.img+20

Yes. The order does make a difference. Especially on page load where conditions rely on values from another model.

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 7:10 PM UTC

You are correct. In “field from another model” conditions the order that the queries run is critical.  That is really the only time,  but since that is such a powerful (and often used) feature of Skuid, it deserves to be better documented.  I’ll pass the request along to Josh,  our doc guru… 

Translate