Reading a Json from a *.json file and saving it to a CDT

Greetings community,

I'm having this problem when i'm passing a *.json file thru' a Web API that starts a process model.

From within my process model i have a readtextfromfile() function in a script task that gets the text from the JSON file.

After this, i use a!fromJson() and save the result in a process variable type: My Data Type.

This however, seems to not be working. The value being passed to the CDT appears to be null and never reaches the write to data entity smart service.

I reckon the cause of this could be that the variable is not holding a list of dictionary required to save as CDT values.

Is there anybody that might have experienced a similar issue and how to solve it?

Thanks in advance!

  Discussion posts and replies are publicly visible