Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Email body contains name/value pairs with special character

Mounika77
Tera Contributor

If an email body contains name/value pairs with this syntax:

<string>:<string>

then an email object property is automatically created and populated. For example, if the string Var1:Value1 appears in the email body, the property email.body.var1 is created and the property value is Value1.

 

How does a key with () is parsed? E.g.:(Requesting on behalf of) Name: 

 

1 REPLY 1

pavani_paluri
Tera Guru
Tera Guru

Hi @Mounika77 ,

 

Could you Please share me the exact body, then I can help you with code to parse it.

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P