Solved
Fetching outgoing dependencies, err: Unable To convert org.mozilla.javascript.UniqueTag to INFOTABLE
Trying to fetch the outgoing dependencies of a thing as an infotable using the GetOutgoingDependencies service in the PTC.Resource.RelationshipUtilities, but facing this error :
Error executing service. Message ::Unable To Convert From org.mozilla.javascript.UniqueTag to INFOTABLE - See Script Error Log for more details.
Here:
var thingName = "sampleThing"
var mxItems = 10;
var mxDepth = 2;
let params = {
target: thingName,
maxItems: mxItems,
maxDepth: mxDepth
};
var relData = Resources["PTC.Resource.RelationshipUtilities"].GetOutgoingDependencies(params);

