Cannot convert value [true] of type class java.lang.String to Object Array for field
Hello Team,
I have JSON like following
[
{
"INTEGRATION_ID": "1",
"ISSUE_STATUS_CAT": "Done",
"SPRINT_LIST": [
"24-w1-2",
"24-w1-3",
"24-w1-4"
]
},{
"INTEGRATION_ID": "2",
"ISSUE_STATUS_CAT": "Done",
"SPRINT_LIST": "24-w1-2"
}
]
My requirement is to check whether SPRINT_LIST is array or not. so I am using UpdateRecord processor with following formula
${field.value:startsWith(" [ ")}
I was getting the correct output earlier, where it returned 'True' when the value was a list and 'False' when it was null or not a list. However, after making some changes and then reverting back to the original settings, I started encountering issues. "Cannot convert value [true] of type class java.lang.String to Object Array for field error"

