In order to properly determine the appropriate Offer and response values for an inbound message, you can access both SMS message and customer data in your decision tables.
Customer Data
Customer data can be accessed directly via the .Customer page property under the PegaMKT-Work-Offer class.
Inbound SMS Message Data
Inbound SMS message data is made available under the .InboundResponseData.SMS page property under the PegaMKT-Work-Offer class. This page includes properties for the incoming number (.SourceNumber) and the message content (.MessageBody).
When using multiple decision tables, do not specify a return value for the otherwise clause in the decision tables. This will allow for processing to move on to evaluating the next decision table in the list.
The following decision tables are provided as samples and illustrate the usage patterns mentioned above:
PegaMKT-Work-Offer.InboundSMSParsingSample1
PegaMKT-Work-Offer.InboundSMSParsingSample2