Selection of a text based on the passed value

Hi Appian experts,

Here, I am trying to get the cText based on the passed typeId.

How I can achieve this.

a!localVariables(
local!selectedtype: "IM",
local!myDictionary: {
{ cText: "Internal Memo", typeId: "IM" },
{ cText: "External Memo", typeId: "EM" },
{ cText: "Correspondence", typeId: "CP" }
},
local!myDictionary.cText[local!selectedtype]
)

  Discussion posts and replies are publicly visible

Parents Reply Children