Question

Sorting order on Page as XML

We have an external system which expects the JSON input values in a specific order. However when we set the properties on the page and pass it to the connector as a request , the order of the properties are changed,

eg: Customer { "ID":"C-123","FirstName": "test"} - Expected

Customer { "FirstName": "test","ID":"C-123"} - Actual

When i extracted the page as an XML is was showing the same order as the one used in the JSON. How does pega determine the order and how can we override it?

Comments

Keep up to date on this post and subscribe to comments