Does anyone have an example of assigning a user role inside “scripted decision node”
A conventional method of setting attribute throws an error regarding incorrect format for “relationship” attribute type.
Here is an example another thing that I tried:
var myArray = new Array();
var object = sharedState.get(“objectAttributes”)
object.roles = myArray;
Here is the error:
errorMessage=Invalid value format for relationship array