Question

How to perform validation on the incoming json fields

Hi,

I'm new to Pega, can you pls give me an example on how to perform validation on the incoming json fields in Pega.

Thanks

Mani

Branched Post Information: 

Comments

Keep up to date on this post and subscribe to comments

Pega
December 4, 2019 - 1:48am

Hi,

To restrict the number of characters, you can specify the min/max characters in the cell properties :

Also, you can create an Edit validate rule and can use in the Property directly which will be specific for that property :

Hope it helps!

Thanks,

December 5, 2019 - 1:54pm

Thanks mutha1. I would like to validate all the json fields before getting into any actual steps so I can respond to the invoking app that its not a valid json. FYI, I dont have a UI for this app.