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.

local!selectedtype: "IM",
local!myDictionary: {
{ cText: "Internal Memo", typeId: "IM" },
{ cText: "External Memo", typeId: "EM" },
{ cText: "Correspondence", typeId: "CP" }

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data