I have a strange Exception here: Session 0 (SYSTEM) is not allowed to call method public ch.ivyteam.ivy.workflow.IProcessData ch.ivyteam.ivy.workflow.internal.Task.getInternalProcessData(). The session does not fulfill the permission rule SESSION IS SYSTEM This says the Session has the permission SYSTEM but the call was denied because the Session has not the permission SYSTEM. Code is: final ITask task = Ivy.wfTask(); IProcessData ipd = Ivy.session().getSecurityContext() .executeAsSystemUser(new Callable<iprocessdata>() { asked 23.10.2014 at 10:52 HaraldWeber |
Does it work if you use the SecurityManager approach to call the protected API? http://answers.axonivy.com/questions/744/how-can-i-disable-xpert-ivy-security-permission-checks/746 answered 23.10.2014 at 15:14 Reguel Werme... ♦♦ Yes this approach is working. But the next call doesn't: task.writeInternalStartProcessData(processData); (NullPointerException somewhere inside writeInternalStartProcessData) Seems that I cant manually save the Task data..
(23.10.2014 at 15:32)
HaraldWeber
|
answered 23.10.2014 at 20:19 Reto Weiss ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 23.10.2014 at 10:52
Seen: 2,979 times
Last updated: 23.10.2014 at 20:19