Hi, sorry if this is painfully obvious. I am trying to initialize an array variable with JSON objects, but PA returns the error message "The variable 'groupArray' of type 'Array' cannot be initialized or updated with value of type 'String'. " Why is it reading this as a string?
The array looks like this:
[
{
"Group":"",
"RBT":"",
"InvoiceNumber":"",
"InvoiceName":"",
"ServiceSummary":"",
"AuditDescription":"",
"AuditSummary":"",
"DepartmentNumber":""
},
{
"Group":"Group1",
"RBT":"RBT1",
"InvoiceNumber":"Invoice1",
"InvoiceName":"InvoiceName1",
"ServiceSummary":"Summary1",
"AuditDescription":"N/A",
"AuditSummary":"N/A",
"DepartmentNumber":"N/A"
}
]

There are numerous other objects but they're loaded with proprietary data so I've just added a blank object and one with dummy values here. Thanks in advance!