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
Give the displayvalue() function a try.
a!localVariables( local!selectedtype: "IM", local!myDictionary: { { cText: "Internal Memo", typeId: "IM" }, { cText: "External Memo", typeId: "EM" }, { cText: "Correspondence", typeId: "CP" } }, displayvalue( local!selectedtype, local!myDictionary.typeId, local!myDictionary.cText, null ) )
Perfect solution. Great. Thank you.