How to maintain a key value pair in a constant and pick the value by passing the key?

Hi,

May I know how to maintain a key value pair values in a constant and refer the constant in an expression rule and pick the respective value by passing the key name.

Eg: "72"-"ABC"

       "75"-"DEF"

       "80"-"GHI"

 

I need to get the value "ABC" by passing "72" as input. Please suggest.

 

Regards,

Balaji.R

 

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi Sandeep,

    Thanks for your suggestion and 1 question I have here is if I use decision object it could perform a nested IF and check for the conditions till the value matches and Key-Value pair I was interested is because in a key-value pair the search might not be a nested IF but if we don't have option of maintaining key-value pair in Appian then decision is the best way of handling it. Please correct me if my understanding is wrong.

    Regards,
    Balaji.R
Children