Null Check Validation Failing
We are having a requirement where we are getting values from an external application via a webAPI. In the web API we are casting the data into a CDT.
The value we receive from the application would be something like.
{
"person" : {"name": "Shaun","age" : 27},
"address" : {"addressLine" : "24-Wall Street","city":"London"}
}.
After this we are casting this into person and address CDT in appian and passing to the process model.
If the person and address values is empty we would be receiving the data like
{
"person" : {},
"address" :{}
}.
Now when I am casting this null Data inside CDT, this is getting casted and passed in process model like [name=null;age=null][addressLine=null;city=null].
I need to perform a null check in process model on these values which is getting failed.
Also when I am checking the length of "person" or "address" its showing as 1 instead of 0.
