JSON Auto mapping failure for Value List property to respective field
Hi,
We have usecase where we read kafka message coming in JSON format to Pega clipboard mapping using pega Auto map feature. But this is failing when we created a value list property with exact namespace as coming via JSON. Below is the exception, Any ideas how to resolve this
"com.pega.pegarules.pub.clipboard.WrongModeException: The property MapJson.consent(1).channelPreference(1) was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue() was expecting Page mode. Details: (none) com.pega.pegarules.pub.clipboard.WrongModeException: The property MapJson.consent(1).channelPreference(1) was of mode String while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getPageValue() was expecting Page mode. Details: (none)"
Sample structure:
{ "consent": [{ "channelPreference":[ "Email" , "SMS" ] }] }
Regards,
Raja