kie-server : Json integer being read as java Boolean true

Solution In Progress - Updated -


Inside REST API process request json body, I'm passing "booleanAttribute":true and it works. But I discovered that when using any number, such as 12345, it converts it to true. Only when using explicitly false it turns into false. How can I cast any exception when converting 123456 to true?

Here is an example of problematic payload, 'isEscalated' is boolean type field in com.example.Claim class.

    "ClaimObj": {
        "com.example.Claim": {
            "claimID": "ID00001",
            "isEscalated": 123456


  • Red Hat Process Automation Manager
    • 7.4.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In