Questions asked by Stelt0https://answers.axonivy.com/questions/asked-by/626/stelt0/?type=rssQuestions asked by <a href="/users/626/stelt0" >Stelt0</a>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-variablesprocessapijavaPorts opened by the Enginehttps://answers.axonivy.com/questions/3753/ports-opened-by-the-engine<p>Hello Ivy Team,</p> <p>Do we have somewhere a list of all ports that Axon.Ivy Engine is opening ? I know only for the HTTP(s) and AJP ports. Do we have others that are opening behind the scenes ?</p> <p>We found a port conflict with another application on port 9999 on one of our instances. I was not aware that this port was used by the Engine and I don`t know where to configure it.</p> <p>I found only this occurrence in the settings: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Capture_IK59YzJ.JPG"></p> <p>How can we configure this one to listen on another port ?</p> <p>Best Regards, Yordan</p>Stelt0Fri, 29 Mar 2019 02:59:06 -0400https://answers.axonivy.com/questions/3753/ports-opened-by-the-engineengineruntimeEngine mimimum system requirementshttps://answers.axonivy.com/questions/3058/engine-mimimum-system-requirements<p>Hello, Ivy Team,</p> <p>I was trying to find in the documentation what are the minimum system requirements for axon.ivy 7.0 engine (CPU, RAM, HDD). My goal is to have simple demo environment. </p> <p>Let say, I want to install it somewhere on Amazon on VM with 1 CPU hosting on windows 2012 with MySql. Would be possible to run with 512 RAM or am I to optimistic ? :)</p> <p>Best Regards, Yordan</p>Stelt0Fri, 05 Jan 2018 09:48:30 -0500https://answers.axonivy.com/questions/3058/engine-mimimum-system-requirementsengineMigration Ivy Server to another Machinehttps://answers.axonivy.com/questions/2994/migration-ivy-server-to-another-machine<p>Hello, Ivy Team,</p> <p>We are planning to move one existing installation of Axon.Ivy Server to another machine. What are the pitfalls in such scenarios? </p> <ul> <li>We will copy-paste the whole installation folder to the new server (the file system paths will be the same)</li> <li>We will attach the AxonIvySystemDatabse to the new server (p.s. we will also migrating to different db server)</li> <li>We need to change the license file</li> <li>We need to update the configuration to point to the new db server</li> <li>Probably we need to update the server name in the Admin UI </li> </ul> <p>All should be straightforward, right ? Are we missing something ?</p> <p>Best Regards, Yordan</p>Stelt0Tue, 21 Nov 2017 08:29:28 -0500https://answers.axonivy.com/questions/2994/migration-ivy-server-to-another-machineengineaxon.ivyconfigurationmigrationEnd Page on User Dialoghttps://answers.axonivy.com/questions/2886/end-page-on-user-dialog<p>Hello Ivy Team,</p> <p>I have a business process starting with an User Dialog, where the user can submit a request. After that the process is doing a lot of background activities and it is assigning tasks.</p> <p>The application is part of the Portal application. Currently, when the user submit the request, he is redirected to the Task List of the Portal.</p> <p>Is it possible instead of redirecting int to the Task List, to show him some Thank You page ? The problem is that this process can be started by users that does not have Ivy user and in this case he is redirected to the Portal Login page. For these users this makes no sense.</p> <p>Best Regards, Yordan</p>Stelt0Tue, 26 Sep 2017 04:27:51 -0400https://answers.axonivy.com/questions/2886/end-page-on-user-dialoghtmluserdialogprocessportalSource Control for Axon.Ivy projecthttps://answers.axonivy.com/questions/2815/source-control-for-axon-ivy-project<p>Hello Ivy Team,</p> <p>Do you have any advise what is the proper way to setup SVN and Git in order to manage the code ?</p> <p>I see that the files in \src_dataClasses and \classes folders are deleted (including the .gitignore inside) Also the files inside .settings folder should not be watched for changes, but they need to be part of the initial commit (they contains passwords for the email server in clear text !)</p> <p>Best Regards, Yordan</p>Stelt0Wed, 23 Aug 2017 02:20:58 -0400https://answers.axonivy.com/questions/2815/source-control-for-axon-ivy-projectprojectgitconfigurationdesignerWhat is the right way to check the OS where ivy is running?https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-running<p>Hello Ivy Team,</p> <p>I`m wandering what is the best practice(if any) to check what is the operating system where Ivy is currently running (i.e. Windows 10, Windows Server 2012, Linux, MacOS, etc..)</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Fri, 02 Jun 2017 03:11:20 -0400https://answers.axonivy.com/questions/2662/what-is-the-right-way-to-check-the-os-where-ivy-is-runningengineenvironmentivyscriptdesignerEngine stettings storehttps://answers.axonivy.com/questions/2589/engine-stettings-store<p>Hello, Ivy Team!</p> <p>I`m looking for a way to restore the default server setting of the Engine manually.</p> <p>I have found the table that stores the default values: SELECT * FROM public.iwa_systemproperty</p> <p>can you tell me where I can find the applied configurations ? are they in another table or in a file ?</p> <p>p.s. I need to restore the manually, because I accidentally changed some of the address settings and the AdminUI is not longer accessible for me.</p> <p>Best Regards, Yordan</p>Stelt0Mon, 24 Apr 2017 08:08:34 -0400https://answers.axonivy.com/questions/2589/engine-stettings-storeengineconfigurationadministrationHow to get url for Task in Emailhttps://answers.axonivy.com/questions/2571/how-to-get-url-for-task-in-email<p>Hello Ivy Team,</p> <p>I`m building a process for overriding the default email notifications as described here: <a href="http://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-applicationdefaults">http://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-applicationdefaults</a></p> <p>I have a problem to build an URL to the task.</p> <p>I`m trying this ways, but no luck:</p> <pre><code>in.task = ivy.wf.findTask(in.notificationTaskId); in.taskUrl = ivy.html.taskstartref(in.task); in.taskUrl = ivy.var.FQDN + in.task.getFullRequestPath() + "?taskId=" + in.notificationTaskId.toString(); </code></pre> <p>the URL is valid but the Id of the task is different than in the Task List view.</p> <p>I`m using version 6.4</p> <p>Am I doing something wrong or this is a bug in this version ? p.s. it does not work bot on the Designer and on the Server</p> <p>Best Regards, Yordan</p>Stelt0Thu, 06 Apr 2017 08:30:18 -0400https://answers.axonivy.com/questions/2571/how-to-get-url-for-task-in-emailurltaskemailchange OOTB task emailshttps://answers.axonivy.com/questions/2502/change-ootb-task-emails<p>Hello Ivy Team,</p> <p>Is it possible to override the default email templates that are sent by the task notifications ? Mainly I want to change their branding according to customer specifications.</p> <p>Best Regards, Yordan</p>Stelt0Mon, 20 Mar 2017 06:57:45 -0400https://answers.axonivy.com/questions/2502/change-ootb-task-emailsdesigneremailChanging the Security Systemhttps://answers.axonivy.com/questions/2437/changing-the-security-system<p>Hello IvyTeam,</p> <p>Is it possible to change the security system of application once it has been set ?</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/1_fKOZof4.JPG"></p> <p>Let`s say I want to start with Ivy Users and at some point to change to Active Directory ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Fri, 10 Feb 2017 09:52:07 -0500https://answers.axonivy.com/questions/2437/changing-the-security-systemsecurityadministrationserverEager 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-loadingprocessdebuggingdesignerjavadataclassGenerating URL with Proxyhttps://answers.axonivy.com/questions/1989/generating-url-with-proxy<p>Hi All,</p> <p>is it possible to have Ivy generated URLs Proxy aware ?</p> <p>for example: ivy.html.startref("Start Processes/DashboardPages/DefaultApplicationHomePage.ivp")</p> <p>how can I say what is my proxy server ?</p> <p>Best Regards, Yordan</p>Stelt0Thu, 25 Aug 2016 12:53:08 -0400https://answers.axonivy.com/questions/1989/generating-url-with-proxyhtmldialogproxynvarchar(max)https://answers.axonivy.com/questions/1988/nvarchar-max<p>Hi All,</p> <p>What is the recommendation for having column like nvarchar(max) ? what should I put in the Length value in the designer when creating Entities nvarchar(max) ? 2147483647 maybe ?</p> <p>Best Regards, Yordan</p>Stelt0Wed, 24 Aug 2016 16:31:53 -0400https://answers.axonivy.com/questions/1988/nvarchar-maxhibernateentity-managerpersistenceGet Project version programmaticallyhttps://answers.axonivy.com/questions/1982/get-project-version-programmatically<p>Hello All,</p> <p>Is there a way programmatically to get the project version from Deployment Descriptor ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Mon, 22 Aug 2016 16:10:49 -0400https://answers.axonivy.com/questions/1982/get-project-version-programmaticallysubversionapiEdit CMS on the Serverhttps://answers.axonivy.com/questions/1981/edit-cms-on-the-server<p>Hi All,</p> <p>Is it possible to edit the content of CMS item (let`s say String of JPEG) directly on the Ivy Server without redeploying the whole application ?</p> <p>Best Regards, Yordan</p>Stelt0Mon, 22 Aug 2016 13:21:32 -0400https://answers.axonivy.com/questions/1981/edit-cms-on-the-servercmsivy.html.startref throws exception on serverhttps://answers.axonivy.com/questions/1973/ivy-html-startref-throws-exception-on-server<p>Hello all,</p> <p>I just found out that this method:</p> <pre><code>ivy.html.startref("Start Processes/DashboardPages/DefaultApplicationHomePage.ivp") </code></pre> <p>throws an exception on the ivy server, but not in the Designer</p> <p>Why ? What am I missing ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Thu, 18 Aug 2016 18:05:26 -0400https://answers.axonivy.com/questions/1973/ivy-html-startref-throws-exception-on-servererror-handlingdebug log on ivy server for applicationhttps://answers.axonivy.com/questions/1972/debug-log-on-ivy-server-for-application<p>Hello All,</p> <p>How do I configure the log4j to show the ivy.log.debug() messages for an application ?</p> <p>Best Regards, Yordan</p>Stelt0Thu, 18 Aug 2016 13:56:41 -0400https://answers.axonivy.com/questions/1972/debug-log-on-ivy-server-for-applicationdebuggingloggingCMS Other type of resourceshttps://answers.axonivy.com/questions/1966/cms-other-type-of-resources<p>Hello All,</p> <p>Is there a reason why I can store on the CMS so few file formats ?</p> <p>For example: I can store .css files, but not .js files I can store .png and .jpeg but not .svg</p> <p>I would also want to be able to store font files, audio and video files, etc..</p> <p>Does Ivy Team has a vision to extend the list in future releases ?</p> <p>Best Regards, Yordan</p>Stelt0Wed, 17 Aug 2016 08:01:01 -0400https://answers.axonivy.com/questions/1966/cms-other-type-of-resourcescmsAxon ivy mobile experiencehttps://answers.axonivy.com/questions/1946/axon-ivy-mobile-experience<p>Hello Ivy Team,</p> <p>I want to provide some mobile experience to my users.</p> <p>There are currently 3 approaches in my head:</p> <p>1.Native Mobile Client - Native iOS and/or Android app - no Web View - communicating to Ivy via HTTP - only data returned, no HTML - offline support</p> <p>2.Hybrid Mobile Client - Phonegap or Ionic HTML SPA hosted on the device (web view) - communicating to Ivy via HTTP - only data returned, no HTML - offline support</p> <p>3.Mobile optimized web view - OOTB provided by Ivy web technologies - JSF and PrimeFaces - no offline support</p> <p>Option 3 is the easiest to implement and release, but it has the worse UX. My biggest concern for option 1 and 2 is the security in terms of session management.</p> <p>Witch approach would Ivy Team recommend ? I saw in the documentation about the Offline User Dialogs, but they goes to option 1</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Mon, 08 Aug 2016 10:26:03 -0400https://answers.axonivy.com/questions/1946/axon-ivy-mobile-experiencehtmluserdialogmobilerestError handler redirect to Web Page or User Dialog ?https://answers.axonivy.com/questions/1940/error-handler-redirect-to-web-page-or-user-dialog<p>Hello All,</p> <p>I have an interesting situation.</p> <p>I have a User Dialog with interactions and a bit complex Logic. There is a point in the process where I`m trowing an exception and I want to redirect the user to an error page: <img alt="alt text" src="http://answers.axonivy.com/upfiles/1.JPG"></p> <p>I want to catch the exception in the business process where to do the redirect. Here is the confusing part:</p> <ol> <li> <p>If I redirect to User Dialog, everything is working correctly: <img alt="alt text" src="http://answers.axonivy.com/upfiles/3.JPG"></p> </li> <li> <p>If I redirect to Web Page (JSP from the CMS) it is trowing an error. <img alt="alt text" src="http://answers.axonivy.com/upfiles/2.JPG"></p> </li> </ol> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/4.JPG"></p> <p>Is this a bug or wrong architecture from my side ?</p> <p>anyway, what is the best practice for managing exceptions in User Dialog`s Logic?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Thu, 04 Aug 2016 14:38:50 -0400https://answers.axonivy.com/questions/1940/error-handler-redirect-to-web-page-or-user-dialoghtmluserdialogbest-practiceerror-handlingEmail Templating enginehttps://answers.axonivy.com/questions/1924/email-templating-engine<p>Hello all,</p> <p>Does the templating engine of the Email activity supports iteration over collections and if-else statements ?</p> <p>If so, what is the syntax ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Thu, 28 Jul 2016 07:25:04 -0400https://answers.axonivy.com/questions/1924/email-templating-engineemailEmail template in CMShttps://answers.axonivy.com/questions/1922/email-template-in-cms<p>Hello all,</p> <p>Is it possible to store HTML template for emails in CMS and still use the &lt;%= %&gt; placeholders ?</p> <p>for example: </p><table> <tbody><tr> <td>New Event: <strong>&lt;%=in.event.channel.name%&gt;</strong><p></p> <p>I have added one JSP resource in CMS and referenced it in the Email Activity: &lt;%=ivy.cms.co("/emailTemplates/email")%&gt;</p> <p>but it didn`t worked.</p> <p>Best Regards, Yordan Yunchov</p></td></tr></tbody></table>Stelt0Wed, 27 Jul 2016 12:49:31 -0400https://answers.axonivy.com/questions/1922/email-template-in-cmsemailTrigger activity - no taskhttps://answers.axonivy.com/questions/1905/trigger-activity-no-task<p>Hello All,</p> <p>I have a HTML Dialog. In the Logic I use the Trigger activity to call a Business Process. It works, but it creates a task. </p> <p>Is there a way to be invoked immediately and not create and assign a task ? My process is pure server-side logic.</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Wed, 20 Jul 2016 07:48:50 -0400https://answers.axonivy.com/questions/1905/trigger-activity-no-taskprocesshtmluserdialogtaskIvyScript - 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-expressionsivyscriptjavaEnums in Entity Classeshttps://answers.axonivy.com/questions/1899/enums-in-entity-classes<p>Hi All,</p> <p>What is the best practice in ivy to manage Enums in persistence classes ?</p> <p>this example looks fine to me <a href="http://www.codejava.net/frameworks/hibernate/hibernate-enum-type-mapping-example">http://www.codejava.net/frameworks/hibernate/hibernate-enum-type-mapping-example</a> </p> <p>but how do I implemented in in ivy ? how to add @Enumerated to a field ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Mon, 18 Jul 2016 08:58:08 -0400https://answers.axonivy.com/questions/1899/enums-in-entity-classesdataclasshibernateenumAccess CMS in Javascript filehttps://answers.axonivy.com/questions/1873/access-cms-in-javascript-file<p>Hello All,</p> <p>Is it possible to reference CMS resources in a Javascript file ? (Like in the way we access them in CSS file)</p> <p>Also is it possible to get resources from the CMS via Ajax from Html DIalog ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Fri, 08 Jul 2016 10:34:59 -0400https://answers.axonivy.com/questions/1873/access-cms-in-javascript-filehtmldialogjavascriptcmsEntity Class Migrationshttps://answers.axonivy.com/questions/1872/entity-class-migrations<p>Hello Guys,</p> <p>I`m new to Hibernate and JPA. I have an Axon.Ivy project that has couple of Entity Classes. I want to move them in a separate project and separate namespace(package) and also to add some additional fields.</p> <p>What are the implications when I`m changing the data model and the namespaces ? How do I migrate the changes to the production server ?</p> <p>In .Net Entity Framework there is a concept of 'migrations' where the changes to the database are applied automatically when the code is deploys.</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Wed, 06 Jul 2016 10:08:37 -0400https://answers.axonivy.com/questions/1872/entity-class-migrationsdataclassmigrationpersistence