Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Only in IE: user not authorized when completing task via OData service

$
0
0

Hi,

 

I've just found out today that claiming the task doesn't work on some Internet Explorers (IE9 and IE11).

And that's why task completion is afterwards forbidden!

 

I claim the task via this code:

 

var tasksSvcURL = "/bpmodata/tasks.svc";
var tasksoDataModel = new sap.ui.model.odata.ODataModel(        tasksSvcURL, false);       
var taskId = getValueOfURLParameter("taskId");
oTasksoDataModel.create("/Claim?InstanceID='" + taskId        + "'", null, null, fSuccess, fError);       
function fSuccess(oEvent) {    console.log("Task claimed successfully!");
};
function fError(oEvent) {    console.log("Error occured when claiming the task!");
};

 

The strange thing is that the function fError is not processed, but nevertheless the BPM task is not claimed.

If I nominate the person manually in NWA before the user runs the application, then the task completion is possible!

 

What could be the reason that task claiming does not work?

It doesn't occur on all Internet Explorer versions (e.g. I've never faced the problem with my IE10!)...

Could it be a security setting?

 

Best regards,

Thorsten.


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>