Skip to main content
Inspiring
Dec 16, 2024 8:16 PM UTC
Solved

Designer - Find constants containing value

Is there any way to search all our constants for constants with a particular value contained in their list of values?


Our options are By name/description, UUID or UI, or by expression.

None search the values of our constants. 

mikes0011
mikes0011Answer
Brainy
Dec 16, 2024 8:53 PM UTC

Sadly no.

Back when "by expression" searching was introduced, I had a fleeting moment of hope that it would search constant values too (since otherwise it has nothing to do with constants), but alas. 

You could always file for a product enhancement with Appian, I suppose.

The Expression Guru

8 replies

mikes0011
mikes0011Answer
Brainy
Dec 16, 2024 8:53 PM UTC

Sadly no.

Back when "by expression" searching was introduced, I had a fleeting moment of hope that it would search constant values too (since otherwise it has nothing to do with constants), but alas. 

You could always file for a product enhancement with Appian, I suppose.

The Expression Guru
mathieud0001
Genius
Dec 16, 2024 9:53 PM UTC

I normally use by expression for this kind of use case and hopefully, it's something unique enough that you will find it.

mikes0011
Brainy
Dec 16, 2024 9:55 PM UTC

Similarly, I usually try to include descriptions that mirror what the constant contains (if/when possible), for this reason.  Easily done for plaintext, IDs, process model (names), etc.

The Expression Guru
mathieud0001
Genius
Dec 17, 2024 2:31 AM UTC

True, I did assume that you copied the value in the description.

But search by expression works on the contents of expression rules. Guess that could be an argument for using expression rules in lieu of constants.

stewart.burchell
Employee
Dec 18, 2024 1:57 PM UTC

It's not nice but you could export your constants in a patch and then search the XML objects for the value you're looking for using Notepad++ or similar.

New Participant
Dec 26, 2024 12:34 AM UTC

You’re absolutely right—searching for constants based on their values would be a really useful feature, especially for optimizing workflows. It’s surprising that there isn’t an option to do this directly.