cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPI: How can i store the Json data Value in content modifier

0 Kudos
5,580

Hi Experts,

I have requirement to store the National Id value in content modifier and if it contains the 'AA' i want to end the there itself.

I want to store the bolded one National ID below i want to end the message if it contains the 'AA'

Please advise how can i achieve this

{"StartDate":"2022-07-20T00:00:00Z","National ID":"AA 12 34 56 Z","Event":"26","userId":"12345","National ID type":"NINO","nationalID_new":"ZX 01 02 00 A"}
View Entire Topic
alex_bundschuh
Product and Topic Expert
Product and Topic Expert

in addition to Priyanka's answer, here's an example about how to parse a JSON using groovy:

https://help.sap.com/docs/CLOUD_INTEGRATION/368c481cd6954bdfa5d0435479fd4eaf/af0da6488ea6459e96dbac7...

Alex

0 Kudos

Hi Alexander ,

Its helped me a lot.

Regards,

Abdul Raheem.