I am trying to use a Request Custom Function to change request_type and Mode on created Request.
Using this code but when I test execute nothing happend and no error.
requestObj.put("request_type", {"name":"Incident","id":"1"});
requestObj.put("mode", {"name":"Webb","id":"2"});
return requestObj;
My plan is to use this function in a Business Rule.
SPD version 11201