I am using a!fromJson to convert a JSON string into an Appian value. However, I encounter an error when handling document types.
a!fromJson
This is the current format I am using:
in ER: """" & fv!item & """:[" & substitute(if(rule!GLB_isBlank(local!data[fv!item]), "", local!data[fv!item]),";",",") & "]",OUTPUT: "fieldName":[[Document:115497], [Document:115501]]
but It's giving error 'The json Text parameter was not valid JSON'
Discussion posts and replies are publicly visible
Sure. Create a map and apply toJson().