Parse Values from Array.String FD object

Sam121
Tera Expert

Hello Experts, 

 

I have a custom Flow Designer action which returns output in Array.String data type. This FD action is in a custom scope.

I am looking for a script to iterate through these array.string values in a client callable script include.

I tried all JSON methods ( parse(), stringify) . But, I am not able to iterate through these array.string values.

Code Snippet generated by FD action works fine in background script. But, same code doesn't work in client callable script include.

 

Following is the sample output returned from this custom FD action.

 

{
    "Folder List": [
        "23476",
        "09729"
    ]
}

 

I am looking for a script to iterate through above array string object and print values.

 

Regards,

Sam 

1 ACCEPTED SOLUTION

Sam121
Tera Expert

I resolved it myself.

All I was missing was a global object before calling OOB JSON API methods.

 

 

View solution in original post

5 REPLIES 5

Sam121
Tera Expert

I resolved it myself.

All I was missing was a global object before calling OOB JSON API methods.