Skip to main content
December 16, 2024
Solved

Designer - Find constants containing value

  • December 16, 2024
  • 8 replies
  • 1 view

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. 

Best answer by mikes0011

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.

8 replies

mikes0011
mikes0011Answer
Brainy
December 16, 2024

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.

mathieud0001
December 16, 2024

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
December 16, 2024

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.

mathieud0001
December 17, 2024

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
December 18, 2024

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.

December 26, 2024

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.