Best way of creating a query?

Hi all,

In Appian, we can create queries directly in a UI, in local variables, or in a process model using script tasks, through rules, and also in node inputs as well. What is the best way to handle them? have come across one such question which I was not sure of.

  Discussion posts and replies are publicly visible

Parents
  • Certified Lead Developer

    I typically wrap each query into a separate expression for ease of debugging and testing. Then I use this wherever necessary.

    In interfaces we typically use local variables to store the output. If data is needed in a process, then do that in a script task.

    Does that answer your question?

Reply
  • Certified Lead Developer

    I typically wrap each query into a separate expression for ease of debugging and testing. Then I use this wherever necessary.

    In interfaces we typically use local variables to store the output. If data is needed in a process, then do that in a script task.

    Does that answer your question?

Children
No Data