Flow Designer Action | input variable changes from array.object to string

S_ren H_fer
Kilo Guru

Hello Guys,

i just have a problem in flow designer. after the json parser action i want to use the array object in a script step.

find_real_file.png

find_real_file.png

 

However the script runs into an error: invalid return type: com.snc.cobject.ComplexObject. 

find_real_file.png

It looks like that the array object in the input variable is converted to a string.

find_real_file.png

Do you have any idea what causes this?

1 ACCEPTED SOLUTION

S_ren H_fer
Kilo Guru

Hi Göran,

thanks for reply.

I was able to avoid the problem last week by using the object "root" and then retrieving the property data in the script.

But I think I will still report the problem and let service now check it.

 

Regards,

Sören

 

 

View solution in original post

2 REPLIES 2

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi Sören,

I would report this to support as a bug.

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor's Guide To ServiceNow

S_ren H_fer
Kilo Guru

Hi Göran,

thanks for reply.

I was able to avoid the problem last week by using the object "root" and then retrieving the property data in the script.

But I think I will still report the problem and let service now check it.

 

Regards,

Sören