Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

How to index a row in a CDT with an AND condition

Certified Senior Developer

Hi,

To get a value from a memory CDT list (not a table) on a single field condition, I use Index(CDT, whereContains(value, CDT.field2)).

In SQL : SELECT * FROM table WHERE field2 = value

Is there any way to do the same thing with Appian fonctions when we need to make a lookup with an AND condition ?

Ex : SELECT field1 FROM table WHERE field2 = value AND field3 = value 

Otherwise, I would do it with a simple foreach().

(PS : My question, is "not" about how to query a table with multiple logical conditions of queryEntity Stuck out tongue winking eye )

  Discussion posts and replies are publicly visible