Questions Tagged With javahttps://answers.axonivy.com/tags/java/?type=rss&user=Stelt0questions tagged <span class="tag">java</span>enMon, 07 Oct 2019 09:40:24 -0400Complete Task from RESThttps://answers.axonivy.com/questions/4077/complete-task-from-rest<p>Hi Ivy Team,</p> <p>How to complete a task from REST service in Axon.Ivy ?</p> <p>So, far I saw that I can do .destroy() but it doesn`t feel the right, I believe that there will be some side effects </p> <p>or</p> <p>.setActivator(ivy.session.getSecurityContext().getSystemUser()) but this way I`m loosing the history who was the assignee of the task</p> <p>Any other options ?</p> <p>Maybe to do HTTP call to the end-point /TaskA.iot?taskId=7</p> <p>My goal is to build REST API that can manage the Axon.Ivy tasks from external system.</p> <p>Best Regards, Yordan</p>Stelt0Mon, 07 Oct 2019 09:40:24 -0400https://answers.axonivy.com/questions/4077/complete-task-from-restapijavaresttaskREST API and JSESSIONIDhttps://answers.axonivy.com/questions/4032/rest-api-and-jsessionid<p>Hi Ivy Team,</p> <p>Is there a way to get the JSESSIONID (or the whole cookie itself) of the logged in user ?</p> <p>I want to build a rest method which is authenticating the user. I need to return the cookie, so that next requests are authenticated</p> <p>BR, Yordan</p>Stelt0Mon, 30 Sep 2019 03:58:26 -0400https://answers.axonivy.com/questions/4032/rest-api-and-jsessionidauthenticationapijavarestJava Api for Start Process Signature variableshttps://answers.axonivy.com/questions/3984/java-api-for-start-process-signature-variables<p>Hello IvyTeam,</p> <p>Is there a way to get the list of parameters which are defined in the Signature of a process start element ? *I need this information before starting the process instance.</p> <p>I checked the public API but such information is not available. So, I assume there is an Internal API that I can use ? Can you provide some code snipet? </p> <p>Best Regards, Yordan</p>Stelt0Tue, 17 Sep 2019 09:38:57 -0400https://answers.axonivy.com/questions/3984/java-api-for-start-process-signature-variablesprocessapijavaEager Loadinghttps://answers.axonivy.com/questions/2311/eager-loading<p>Hello Ivy Team,</p> <p>In my project, I had to switch from the default Eager loading to the Lazy loading of the Entity classes. The reason was that the queries were not optimized. Now I have the following problem, every time I try to inspect the variables in debug mode, the Designer is throwing errors and it is almost impossible for debugging:</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Capture_JJL7IfL.JPG"></p> <p>Best Regards, Yordan Yunchov</p>Stelt0Wed, 21 Dec 2016 09:19:58 -0500https://answers.axonivy.com/questions/2311/eager-loadingprocessdebuggingdesignerjavadataclassIvyScript - support for Streams and Lambda expressionshttps://answers.axonivy.com/questions/1902/ivyscript-support-for-streams-and-lambda-expressions<p>Hi All,</p> <p>I see that IvyScript does not support some of the new features in Java8 like Streams and Lambda expressions. Is it in the road-map ?</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/img.jpg"></p> <p>Best Regards, Yordan Yunchov</p>Stelt0Mon, 18 Jul 2016 13:22:42 -0400https://answers.axonivy.com/questions/1902/ivyscript-support-for-streams-and-lambda-expressionsivyscriptjava