Getting error while executing microflow within javascript snippet
0
I am working on one free app where on one page I am using javascript snippet which has below code: mx.data.create({ entity: "JsonToEntity.ConvertJson", callback: function (obj) { obj.set('InputJson', event.data); mx.data.action({ params: { applyto: "selection", actionname: "JsonToEntity.ACT_JSToEntity", guids: [obj.getGuid()], }, }); }, error: function(e) { reject("Could create object:" + error.message); } }); but when I run the app it is showing below error message: Please suggest me any solution to avoid this error. Thank you.
asked
Chaitanya Khandale
1 answers
6
Hi Chaitanya,
The error message is itself Self Explanatory. It is Something to do with Security. Check the Allowed user roles for ACT_JSToEntity microflow.