Question

Parse Key: Value Pair in Email Body

Hi,
We have a requirement to parse email body which has Key: Value Pair onto clipboard.
Sample:

Your details are
Title: Mr
First Name: John
Last Name: Cena

Thank you for input.

I did find a OOTB of doing it in one of the framework, but its not available in platform. Please help with more details on the pharmacovigilance
https://community.pega.com/knowledgebase/articles/email-case-creation-pega-pharmacovigilance

Any help is greatly appreciated.

Correct Answer
March 29, 2019 - 11:12pm

It worked with function @pxGetValuesFromKeyValuePairs(Primary.pyInboundEmail.pyBody,"\n",": ",true,null). Thank you

Comments

Keep up to date on this post and subscribe to comments

March 29, 2019 - 11:12pm

It worked with function @pxGetValuesFromKeyValuePairs(Primary.pyInboundEmail.pyBody,"\n",": ",true,null). Thank you

July 30, 2019 - 11:43am
Response to Gurushankar_CN

Hello Gurushankar, 

thx for the Tipp. I'm not that deep into Pega at the moment. Can you give me a helping hand, where to used that function? 

Stephen