We are using the activity Process Offer Response (POR) in order to resume an offer flow in status "Waiting". We would like to add some input information to the paused offer, before it continues with the flow. Pega saves all the information about the offer and we can see the paused offer in MKT_DATA_OFFER, is it possible to change the information of the offer or add some input when the response is received?
Hi, the general practice would be to use the Channel (pyChannel), Response (pyResponse and Direction (pyDirection) params of the POR to pass in the information to the offer runtime and branch your response received path based on that.
The properties mentioned about in the braces could be used under the OfferData property during the offer processing (for example : OfferData.pyChannel could be accessed in a connector or data transform rule etc)
Can you explain more what sort of input you want to pass and a little bit detail on the business use case you are trying to solve ?
Thank you for your response. For example, in a telco, in the first part of the offer flow, we have invited to the customer to do a topup and then, the flow is waiting. Later, a service receives a topup and, depending on the amount the offer flow, is resumed in one way or other. The information of the offer (OfferData) will be accesible during all the offer flow, but the question is how to add the information of the service (in this example, the topup amount).
Posted: 2 years ago
Posted: 2 Jul 2019 14:17 EDT
Sriram Coimbatore Krishnan (Sriram Krishnan)
Fellow, Software Architect, Outbound Runtime
Hi, so it seems "Response" attribute could be passed with the topup amount value in your case. Given its treated by default as string, you might have to use some OOTB pega functions in a data transform or directly in the connector of the (response received) flowaction of the offer flow, to convert to a numeric value. (i.e : if you want to do numeric computations inside your response received path)