Composing correspondence e-mail
Hi, I am using Pega 7.3 I have a DataPage configured as List
pyID | pyLabel | |
D_DecisionList.pxResults(1) | Forward | "Go to another" |
D_DecisionList.pxResults(2) | Decline | "Dont allow" |
I have a property pyWorkPage.HeadDecision.
So am trying to compose e-mail correspondence with a text:
"Our decision is: <<.HeadDecision>>"
But I want to insert the pyLabel value from D_DecisionList depending on .HeadDecision property. for ex. if pyWorkPage.HeadDecision = "Forward", i want D_DecisionList.pxResults(1).pyLabel - "Go to another"to be inserted into e-mail if pyWorkPage.HeadDecision = "Decline", i want D_DecisionList.pxResults(2).pyLabel - "Dont allow"to be inserted into e-mail body. Please help me to implement this.
***Edited by Moderator Marije to add Capability tags***