Questions asked by trungdvhttps://answers.axonivy.com/questions/asked-by/118/trungdv/?type=rssQuestions asked by <a href="/users/118/trungdv" >trungdv</a>enTue, 18 Dec 2018 05:45:32 -0500Index elasticsearch for specific typehttps://answers.axonivy.com/questions/3590/index-elasticsearch-for-specific-type<p>Hi ivyteam</p> <p>As i know when Ivy start, it will reindex everything from it's DB to ES index. </p> <p>Now i only want to index a specific type of class with:</p> <pre><code>List&lt;String&gt; reindexTypes = ... DiCore.getGlobalInjector().getInstance(IBusinessDataManager.class).startIndexRecreation(reindexTypes ); </code></pre> <p>Is it a correct way to go?</p> <p>Thanks</p>trungdvTue, 18 Dec 2018 05:45:32 -0500https://answers.axonivy.com/questions/3590/index-elasticsearch-for-specific-typeindexelasticsearchHow to create ErrorHandling process for dependent project model?https://answers.axonivy.com/questions/3543/how-to-create-errorhandling-process-for-dependent-project-model<p>Hi all</p> <p>As you may know that in ivy, it allow to create Process with name <strong>ErrorHandling</strong> to centralize error handling <img alt="alt text" src="https://answers.axonivy.com/upfiles/cob-page-structures_PIZy7Pg.png"></p> <p>This process must name as ErrorHandling and put inside Processes.</p> <p>Now I have another project that depend on this project and when i create ErrorHandling on that, ivy say: </p> <pre><code> Can't create process with same name. </code></pre> <p>How can i solve this issue?</p> <p>Thanks</p>trungdvWed, 14 Nov 2018 02:41:24 -0500https://answers.axonivy.com/questions/3543/how-to-create-errorhandling-process-for-dependent-project-modelerror-handlingInvalidFormatException when importing java script on JSP pagehttps://answers.axonivy.com/questions/3520/invalidformatexception-when-importing-java-script-on-jsp-page<p>Dear ivy team,</p> <p>I building an JSP page in ivy, use Web Element to load that jsp page</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/cob-page-structures.png"></p> <p>Here is content of that page:</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/cob-page-structures_S8qlK57.png"> I try to import two javascript files to page, but got exception:</p> <pre><code>InvalidFormatException: &gt; didn't match format: &lt;No closing tag found!&gt; at ch.ivyteam.ivy.scripting.internal.expander.TextTagExpander.getNextToExpand(TextTagExpander.java:147) at ch.ivyteam.ivy.scripting.internal.expander.TextTagExpander.getNextToExpand(TextTagExpander.java:80) at ch.ivyteam.ivy.scripting.internal.expander.EmbeddedScriptExpander.expandEmbeddedScripts(EmbeddedScriptExpander.java:81) at ch.ivyteam.ivy.scripting.internal.expander.EmbeddedScriptExpander.expandEmbeddedScripts(EmbeddedScriptExpander.java:56) at ch.ivyteam.ivy.macro.internal.MacroExpander.expandMacros(MacroExpander.java:76) </code></pre> <p>This happen when i import js via script tag with relative resource. When i change to a external link like <img alt="alt text" src="https://answers.axonivy.com/upfiles/cob-page-structures_imu9DbS.png"> Then everything is fine.</p> <p>My question is:</p> <ul> <li>What is different between two ways on ivy? does ivy try to read js file then validate it when we using relative path?</li> </ul> <p>You could see full stacktrace at <a href="https://raw.githubusercontent.com/trungdoviet/import-script-exception/master/stracktrace.txt">here</a> and <a href="https://github.com/trungdoviet/import-script-exception/blob/master/index.js">index.js</a>, <a href="https://github.com/trungdoviet/import-script-exception/blob/master/configuration2.js">configuration2.js</a></p> <p>Thanks and hope you can help.</p> <p>P/S: when i try with HtmlUserDialog, it's seem to work. but my page is React and need to use JSP.</p>trungdvThu, 01 Nov 2018 08:10:53 -0400https://answers.axonivy.com/questions/3520/invalidformatexception-when-importing-java-script-on-jsp-pagejspDoes ivy RestAPI require @Path on class body?https://answers.axonivy.com/questions/3494/does-ivy-restapi-require-path-on-class-body<p>Hi ivyteam</p> <p>I'm using ivy 7.0.3 to develop RestAPI.</p> <p>Now i have a api as below</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_o9lhxJr.png"> On the right side i define @Path on class body but the left side.</p> <p>The right it works well on designer and engine. The left only works for Designer. on engine it say restAPI not found (already restart ivy engine)</p> <p>Does ivy require @Path on class body?</p> <p>Thanks</p>trungdvTue, 23 Oct 2018 07:51:47 -0400https://answers.axonivy.com/questions/3494/does-ivy-restapi-require-path-on-class-bodyrestHow to set Additional property for taskhttps://answers.axonivy.com/questions/3424/how-to-set-additional-property-for-task<p>Hi ivyteam</p> <p>When i use java code, i can set additional property via this api:</p> <pre><code>task.setAdditionalProperty(name, value); </code></pre> <p>but how can i set those properties via taskswitch gateway/Usertask<img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_9KJtgkh.png"></p> <p>Thers is no GUI to set it ( i don't want to use Custom fields because it's full now)</p> <p>Thanks</p>trungdvWed, 19 Sep 2018 00:23:01 -0400https://answers.axonivy.com/questions/3424/how-to-set-additional-property-for-taskivy7xtaskCan we configure location for Rules in ivy?https://answers.axonivy.com/questions/3306/can-we-configure-location-for-rules-in-ivy<p>Hi ivyteam</p> <p>I'm using ivy 7.0.3 with rules functionality. By default the rule will be stored in <code>&lt;project source&gt;\rules</code> . My question is: Can we configure to load rule from external folder?</p> <p>Thanks</p>trungdvMon, 04 Jun 2018 02:09:18 -0400https://answers.axonivy.com/questions/3306/can-we-configure-location-for-rules-in-ivyivy7xruleengineOld userrole mapping still remain after renaming rolehttps://answers.axonivy.com/questions/3224/old-userrole-mapping-still-remain-after-renaming-role<p>Hi ivyteam</p> <p>In my project, i have the role name <code>Front RM</code> and i assign some users for it. Then some version later i rename that role to <code>FrontRM</code> (remove space). That mean all users will be mapped to <code>FrontRM</code></p> <p>Now i use <code>ivy.session.getSessionUser().getRoles()</code> but it always say that user has two roles <code>Front RM</code> and <code>FrontRM</code>.</p> <p>I've investigated then see that there still remain old mapping between user and old role. That's mean when i rename a role, ivy actually add a new role with new name and keep old one with mapping. I explained in this picture: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_ksSIFXV.png"></p> <p>Some questions:</p> <ol> <li>Why ivy still keep old role + old mapping? it's because of multiple PMVs? But in case there is only one PMVs so could ivy remove unnecessary role completely?</li> <li>Does api <code>ivy.session.getSessionUser().getRoles()</code> return correct roles as it display on Admin Tool? If not can i base on any flag to remove that <code>inactive</code> role?</li> </ol> <p>Thanks</p>trungdvThu, 19 Apr 2018 07:03:43 -0400https://answers.axonivy.com/questions/3224/old-userrole-mapping-still-remain-after-renaming-roleroleCan not display special character (german) on New Task Mail Notificationhttps://answers.axonivy.com/questions/3209/can-not-display-special-character-german-on-new-task-mail-notification<p>Hi all </p> <p>I'm using ivy 6.3 andI follow this <a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification-design">guideline</a> to custom new task notification (html format). It works fine except the special characters like : üöäß (inside end page) The email content is broken (mail client on browser like IE/chrome)</p> <p><img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_2d0OSzD.png"></p> <p>Does ivy support to escape those characters?</p> <p>Thanks</p>trungdvWed, 18 Apr 2018 07:02:18 -0400https://answers.axonivy.com/questions/3209/can-not-display-special-character-german-on-new-task-mail-notificationemailSubscribe when login ivy user ?https://answers.axonivy.com/questions/3190/subscribe-when-login-ivy-user<p>Hi all</p> <p>Normally we use <code>Ivy.session().loginSessionUser(userName, password)</code> to login. And we have common modules to do common stuff like this (wrap by Ivy component).</p> <p>My question is: Does ivy support a mechanism that we can subscribe this event and we'll be notified when a ivy user is logged in?</p> <p>Thanks</p>trungdvMon, 16 Apr 2018 00:31:50 -0400https://answers.axonivy.com/questions/3190/subscribe-when-login-ivy-userivyHow to load ivy class to class loader on maven pluginhttps://answers.axonivy.com/questions/3163/how-to-load-ivy-class-to-class-loader-on-maven-plugin<p>Hi ivyteam</p> <p>I'm building a maven plugin to scanning java class in ivy project to generate some business documentation (by reading the annotation in classes). It's seem to work well with java class. </p> <p>There is only one problem with some classes which belong to ivy, for example a java class that extends from <code>ch.ivyteam.ivy.scripting.objects.CompositeObject</code> or a class that references from another class from other ivy project, in maven plugin it could not load those classes like that then throw NoClassDefFoundException, I guess that because <code>CompositeObject</code> does not available on current class loader yet. </p> <p>My question is: How could i resolve those ivy dependencies to load those class? how <code>project-build-plugin</code> can compile them or is there any solutions?</p> <p>Thanks</p>trungdvThu, 29 Mar 2018 11:01:23 -0400https://answers.axonivy.com/questions/3163/how-to-load-ivy-class-to-class-loader-on-maven-pluginclassloaderivyCan we configure project-build-plugin to use annotation processor?https://answers.axonivy.com/questions/3146/can-we-configure-project-build-plugin-to-use-annotation-processor<p>Hi ivyteam</p> <p>As you know that in order to compile ivy project, we need to use project-build-plugin which has been developed by ivyteam. </p> <p>There is a case that when i use third party, they have a custom compiler by annotation processor. There is available in <a href="https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#annotationProcessorPaths">maven-compiler-plugin</a></p> <p>Example: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled2_wotN1IK.png"></p> <p>My question is: Can we configure project-build-plugin for this config?</p>trungdvFri, 23 Mar 2018 01:00:45 -0400https://answers.axonivy.com/questions/3146/can-we-configure-project-build-plugin-to-use-annotation-processorproject-build-pluginAuto start a process in casemap with SYSTEM rolehttps://answers.axonivy.com/questions/3143/auto-start-a-process-in-casemap-with-system-role<p>Hi all</p> <p>I have a business like this: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_lkMY0qv.png"></p> <ul> <li>There is two stages, stage 1 to collect data, stage 2 is mainly for approval</li> <li>In stage 2, it require two users (different roles) to approve the request (can do at the same time) -&gt; there is a need for parallel task. without Casemap, normally we handle like this :<img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled2_jdE2UTE.png"> With a task that is assigned to SYSTEM role, then it will create two other tasks at same time</li> </ul> <p>As you see in the first picture that i've tried to do the same way on CaseMap. Unfortunately the start process element does not allow to be assigned to SYSTEM role so it still need somebody to trigger it and create parallel task.</p> <p>Do we have other way around to handle this case?</p> <p>Thanks a lot</p>trungdvFri, 23 Mar 2018 00:40:28 -0400https://answers.axonivy.com/questions/3143/auto-start-a-process-in-casemap-with-system-rolecasemapivy7xHow to terminate process in casemap by conditionhttps://answers.axonivy.com/questions/3138/how-to-terminate-process-in-casemap-by-condition<p>Hi all</p> <p>I have a case map as below, that case map has only two stages, one process for each. Step 2 is terminated process. <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_nIUFv7b.png"> In our business, there is a requirement that :</p> <ul> <li>User input data in step 1then submit, if that data need to be verified, then process will come to stage 2 (step 2). After that process can be terminated</li> <li>If in step 1 the data user enter is qualified enough then process can be terminated immediately. There is no need to go to stage 2 anymore</li> </ul> <p>My question is:</p> <ul> <li>Can casemap support for this business?</li> <li>Can we terminate process programmatically? then i can use in step 1.</li> </ul> <p>Thanks</p>trungdvThu, 22 Mar 2018 04:35:05 -0400https://answers.axonivy.com/questions/3138/how-to-terminate-process-in-casemap-by-conditioncasemapivy7xMultiple ElasticSearch on same machine (multiple ivy engines)https://answers.axonivy.com/questions/3126/multiple-elasticsearch-on-same-machine-multiple-ivy-engines<p>Hi ivyteam</p> <p>My team has a server which has 3 instances of Ivy engine on it. Sometime when we restart engine, it cause issue that "ES can not be started. Connection refused"</p> <p>As far as i know on each engine it sill contain one ES and it will be started when engine is started. By default, ES will take port <code>9200</code> or <code>19200</code> on <code>localhost</code> (Reference link <a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/installation.html#installation.elasticsearch">https://developer.axonivy.com/doc/latest/EngineGuideHtml/installation.html#installation.elasticsearch</a> )</p> <p>So is there any cases that the port is conflicted in my situation? If so, how can we configure the port for many instance of Ivy engine? We're using Amazon cloud so it's not a good way to buy different server for each Engine on cloud.</p> <p>Thanks</p>trungdvFri, 09 Mar 2018 01:48:49 -0500https://answers.axonivy.com/questions/3126/multiple-elasticsearch-on-same-machine-multiple-ivy-enginesengineelasticsearchCan we hide Webservice startlink from index page?https://answers.axonivy.com/questions/3087/can-we-hide-webservice-startlink-from-index-page<p>Hi all</p> <p>I have the webservice in my project and by default i will see it on index page like this <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_n66e3dM.png"></p> <p>Is there any way to hide it from this page like startlink?</p>trungdvThu, 01 Feb 2018 06:12:49 -0500https://answers.axonivy.com/questions/3087/can-we-hide-webservice-startlink-from-index-pageivyHow to verify username/password of user without logging in?https://answers.axonivy.com/questions/3085/how-to-verify-username-password-of-user-without-logging-in<p>Hi all</p> <p>Normally when we want to check whether user is authenticated ivy user or not, we use this api:</p> <pre><code>Ivy.session().loginSessionUser(userName, password) </code></pre> <p>But this api will also change the current login user to new one. </p> <p>Is there any other api to verify user/pass without logout current user?</p> <p>Because my process is an ivy webservice then it's run with <code>system</code> permission, if i use above api to verify another user it will throw exception that i can't logout of <code>system</code> user.</p> <p>Thanks</p>trungdvThu, 01 Feb 2018 06:00:58 -0500https://answers.axonivy.com/questions/3085/how-to-verify-username-password-of-user-without-logging-inauthenticationivyCan i turn on/off webservice authentication programmaticallyhttps://answers.axonivy.com/questions/3084/can-i-turn-on-off-webservice-authentication-programmatically<p>Hi all</p> <p>We have a webservice which implemented on ivy. This service serve for many customer. As default it required basic-auth. <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_JZ9zRwy.png"> Now some of customers dont want to be authenticated when calling it, so we intend to introduce the global var where admin can allow to turn on/off this feature.</p> <p>Can we go with that way and how to turn off/on this authentication type programmatically?</p> <p>Thanks</p>trungdvThu, 01 Feb 2018 03:06:57 -0500https://answers.axonivy.com/questions/3084/can-i-turn-on-off-webservice-authentication-programmaticallyauthenticationwebserviceivyHow to change encode of email notification of ivy?https://answers.axonivy.com/questions/3074/how-to-change-encode-of-email-notification-of-ivy<p>hi ivy team</p> <p>My project (ivy 6.3.0) is using the feature about email notification when user has a new task: <a href="https://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification">https://developer.axonivy.com/doc/latest/EngineGuideHtml/administration.html#administration-emailnotification</a> but it have trouble with German character as you see in picture below: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled2.png"></p> <p>When i use java mail, i use UTF-8 format so it's fine.</p> <p>How can i change encode for this feature on ivy?</p> <p>Thanks</p>trungdvTue, 23 Jan 2018 06:01:17 -0500https://answers.axonivy.com/questions/3074/how-to-change-encode-of-email-notification-of-ivyemailIvy 7 version for linux/MacOShttps://answers.axonivy.com/questions/3047/ivy-7-version-for-linux-macos<p>Hi ivyteam</p> <p>When i access the <a href="https://developer.axonivy.com/download/archive.html">page</a> to download ivy 7, i see there is several ivy versions but i don't understand exactly the idea behind</p> <ul> <li>What is different between <em>All</em> and <em>Slim All</em> version?</li> <li>Where can i get linux version for ivy engine?</li> <li>Version (designer) for MacOS is available somewhere?</li> </ul> <p>Thanks</p>trungdvMon, 25 Dec 2017 03:27:46 -0500https://answers.axonivy.com/questions/3047/ivy-7-version-for-linux-macosivy7xHow to skip remain processes on casemap after condition is failedhttps://answers.axonivy.com/questions/3045/how-to-skip-remain-processes-on-casemap-after-condition-is-failed<p>Hi ivy team</p> <p>I'm using ivy 7.0.1 and i have a example like this: <img alt="alt text" src="https://answers.axonivy.com/upfiles/yy_VS2sF4N.png"> As you see in <em>Chatting</em> i have a condition that in user can get contact of girl, then that process can be triggered, otherwise it should be skipped.</p> <p>It's working fine as my expectation, but now the requirement expand, my customer want that not only <em>chatting</em> but also all remaining processes should be skipped. but with current implementation, <em>Datting</em>, <em>Express love</em> still run even <em>Chatting</em> was skipped.</p> <p>If i want to archive that requirement, i need to put condition <em>is contact available</em> for all remaining processes(after <em>chatting</em>), For me this is not a good solution because if we have several similar conditions like this, we need to apply it for all remaining processes.</p> <p>My question is: Whether i can skip the remaining process by API? After <em>chatting</em> is skipped, i want the process is end programmatically. </p> <p>Thanks</p>trungdvMon, 25 Dec 2017 03:00:20 -0500https://answers.axonivy.com/questions/3045/how-to-skip-remain-processes-on-casemap-after-condition-is-failedcasemapivy7xHow to trigger sidestep on casemaphttps://answers.axonivy.com/questions/3040/how-to-trigger-sidestep-on-casemap<p>Hi ivyteam</p> <p>I have a question about sidestep on casemap, as my understanding, casemap is a external process that can be triggered manually in anytime. for instance, the admin can run this process to perform additional check in current state. Now i have some questions about sidestep: <img alt="alt text" src="https://answers.axonivy.com/upfiles/yy.png"></p> <ol> <li>How can i run the sidestep on casemap editor? Does i need to run it from index page? </li> <li>Can show casemap editor run on ivy engine?</li> <li>In picture above, i have a sidestep on state Credit rating, so does it mean that sidestep only can run for the case belong to that stage? or how does the stage get influenced to sidestep?</li> </ol> <p>Thanks and hope you feedback soon</p>trungdvWed, 20 Dec 2017 06:51:44 -0500https://answers.axonivy.com/questions/3040/how-to-trigger-sidestep-on-casemapcasemapivy7xsidestepProcess 'initial' has no valid process referencehttps://answers.axonivy.com/questions/3038/process-initial-has-no-valid-process-reference<p>Hi all</p> <p>I'm using ivy 7 to work with casemap, when i create it and run, i got this error:</p> <pre><code>ch.ivyteam.ivy.request.RequestException: Process 'initial' has no valid process reference. at ch.ivyteam.ivy.request.RequestException$RequestExceptionBuilder.build(RequestException.java:166) at ch.ivyteam.ivy.webserver.internal.AbstractProcessModelVersionServlet.doRespondAsSystem(AbstractProcessModelVersionServlet.java:38) at ch.ivyteam.ivy.webserver.internal.AbstractServlet.prepareRespondAsSystem(AbstractServlet.java:230) at ch.ivyteam.ivy.webserver.internal.AbstractServlet.access$3(AbstractServlet.java:212) at ch.ivyteam.ivy.webserver.internal.AbstractServlet$2.call(AbstractServlet.java:190) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313) at ch.ivyteam.ivy.webserver.internal.AbstractServlet.doService(AbstractServlet.java:184) at ch.ivyteam.ivy.webserver.internal.AbstractServlet.doGet(AbstractServlet.java:168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at ch.ivyteam.ivy.webserver.internal.exception.IvyExceptionFilter.doFilter(IvyExceptionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at ch.ivyteam.ivy.webserver.internal.IvyFilter.doFilterInternal(IvyFilter.java:247) at ch.ivyteam.ivy.webserver.internal.IvyFilter.doFilter(IvyFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:45) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter$1.call(IvyExecuteAsSystemFilter.java:1) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313) at ch.ivyteam.ivy.webserver.internal.IvyExecuteAsSystemFilter.doFilter(IvyExecuteAsSystemFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:124) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at ch.ivyteam.ivy.webserver.internal.startup.IvyEngineUnavailableFilter.doFilter(IvyEngineUnavailableFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at ch.ivyteam.ivy.webserver.internal.PerformanceLogValve.invoke(PerformanceLogValve.java:55) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalArgumentException: Process 'initial' has no valid process reference. at ch.ivyteam.ivy.casemap.runtime.service.restricted.CaseMapApplicationService.getValidStartElement(CaseMapApplicationService.java:106) at ch.ivyteam.ivy.casemap.runtime.service.restricted.CaseMapApplicationService.getValidStartElement(CaseMapApplicationService.java:94) at ch.ivyteam.ivy.casemap.runtime.service.restricted.CaseMapApplicationService.startCaseMap(CaseMapApplicationService.java:57) at ch.ivyteam.ivy.casemap.runtime.service.restricted.CaseMapApplicationService.startCaseMap(CaseMapApplicationService.java:51) at ch.ivyteam.ivy.webserver.internal.IvyCaseMapServlet.handleProcessModelVersionRequest(IvyCaseMapServlet.java:34) at ch.ivyteam.ivy.webserver.internal.AbstractProcessModelVersionServlet.handleRequest(AbstractProcessModelVersionServlet.java:87) at ch.ivyteam.ivy.webserver.internal.AbstractProcessModelVersionServlet.processPmvRequest(AbstractProcessModelVersionServlet.java:63) at ch.ivyteam.ivy.webserver.internal.AbstractProcessModelVersionServlet.doRespondAsSystem(AbstractProcessModelVersionServlet.java:30) ... 51 more </code></pre> <p>Does anyone know why this happen? you can download example <a href="https://github.com/aavn-backyard/casemap-demo">here</a></p> <p>Thanks a lot</p>trungdvTue, 19 Dec 2017 10:50:44 -0500https://answers.axonivy.com/questions/3038/process-initial-has-no-valid-process-referencecasemapivy7xMultiple recipients on email elementhttps://answers.axonivy.com/questions/3028/multiple-recipients-on-email-element<p>Hi all</p> <p>I have a feature to send one email to several recipients, can i use email elements in ivy to do that? When i tried with ivy designer it's seem to work. <img alt="alt text" src="https://answers.axonivy.com/upfiles/rr.jpg"> but not for ivy engine <img alt="alt text" src="https://answers.axonivy.com/upfiles/maoi-3_GX8xNdk.png"></p> <p><a href="https://github.com/aavn-backyard/ivy-email-sender">Here</a> is demo project that you can use for test. </p> <p>Thanks</p>trungdvThu, 14 Dec 2017 02:32:55 -0500https://answers.axonivy.com/questions/3028/multiple-recipients-on-email-elementemailCan we revert to previous Stage/Process on Case map?https://answers.axonivy.com/questions/3009/can-we-revert-to-previous-stage-process-on-case-map<p>Hi ivy support team</p> <p>I'm exploring case map on ivy 7, just a small question that when i have several stages with some processes, when one of the process is failed (from business point of view), can i revert the process to the previous stage/process? Can i do that on Case map editor or need to use API?</p> <p>Thanks</p>trungdvWed, 29 Nov 2017 22:27:55 -0500https://answers.axonivy.com/questions/3009/can-we-revert-to-previous-stage-process-on-case-mapcasemapivy7xResponsible role/user to start process on casemaphttps://answers.axonivy.com/questions/2999/responsible-role-user-to-start-process-on-casemap<p>Hi all</p> <p>I'm trying with new concept which called <code>casemap</code> on ivy 7. What make me confused is the responsible role to trigger process of each step. Below is the picture of start process element: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_k6A8syj.png"></p> <p>There is two places to configure about the role, in Request and Trigger tab. As i see the role in Trigger tab is about responsible role. It define which role/user can start this process (evaluate when casemap start). </p> <p>My question is: </p> <ul> <li>What is the purpose of role in Request Tab? How is it related to role in Trigger Tab?</li> <li>When we use casemap, should we combine this start process with normal task switch? may be i need some boundary signal events.</li> <li>In order to start it by casemap, we have to allow this task to be able to start by trigger-element? Thanks</li> </ul>trungdvSat, 25 Nov 2017 22:05:27 -0500https://answers.axonivy.com/questions/2999/responsible-role-user-to-start-process-on-casemapcasemapivy7xWhat is difference between Business Case and Case Map?https://answers.axonivy.com/questions/2998/what-is-difference-between-business-case-and-case-map<p>Hi ivy support team</p> <p>We're exploring ivy 7 where case map is a interesting feature there. So now i get a little bit confused what Case Map really is. imo, it just orchestrate the main flow of processes into stages and sidesteps. </p> <p>Now the next question is what is different between Business Case and Case Map. Or Case Map is just a presentation layer of Bussiness Case in BPM point of view?</p> <p>I also read this in documentation:</p> <pre><code>The dependencies between Case Map, Business Cases and Business Data are as follows: Processes started inside a Case Map create new cases inside the Business Case, which themselves contain tasks for the users. Data between processes can be easily shared using Business Data. A Business Case can be attached to a Case Map, which in turn controls the flow of the processes. </code></pre> <p>In one Case Map, it can have more than one Business Case?</p> <p>Hope ivy team can explain more about those cool things.</p> <p>Thanks</p>trungdvFri, 24 Nov 2017 02:52:35 -0500https://answers.axonivy.com/questions/2998/what-is-difference-between-business-case-and-case-mapcasemapivy7xbusinesscaseFilter task which is assigned to System userhttps://answers.axonivy.com/questions/2966/filter-task-which-is-assigned-to-system-user<p>Hi all</p> <p>My project has some tasks which is assigned to System user, Now i build query to collect it? </p> <p>What is the best way to do it?</p> <p>Now i use <code>ITask.getActivator().getId()</code> then compare with <code>Ivy.wf().getSecurityContext().getSystemUser().getId()</code>. If they are same so that is task belong to system user.</p> <p>Is it a correct way to go?</p>trungdvThu, 09 Nov 2017 03:41:56 -0500https://answers.axonivy.com/questions/2966/filter-task-which-is-assigned-to-system-userivytaskHow to use SingalStart in CaseMaphttps://answers.axonivy.com/questions/2941/how-to-use-singalstart-in-casemap<p>Hi ivyteam</p> <p>I'm using ivy 7.0.1 and I have the process like this: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_u923Vsf.png"></p> <p>My project has two stage, First stage is Data Gathering, Second is Document. In each stage i have a ivy process (could be more in real case), and they are connected by signal (see on picture)</p> <p>When first process is done, it send signal then second process is started and create task to responsible role, If that activator open task, process can continue with another signal to create another task and so on...</p> <p>When i use ivy 7, i try with CaseMap, but i can not integrate those process to case map, because i see it only support for Start Process. <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_KRPlfag.png"> In this picture i only can browse first startlink, not signal or second task switch.</p> <p>My question is:</p> <ul> <li>Can i apply CaseMap for my project (it use a lot of signal like this pattern)? Or we need to remove all signal and change to startlink? I see we no need to use signal and task switch. how to handle signal boundary event on startlink?</li> <li>In case we only use startlink, how to secure them?</li> </ul> <p>Thanks</p>trungdvTue, 31 Oct 2017 05:39:31 -0400https://answers.axonivy.com/questions/2941/how-to-use-singalstart-in-casemapsignalsivy7casemapWindows alert about security of AxonIvy 7.0.1.56047https://answers.axonivy.com/questions/2939/windows-alert-about-security-of-axonivy-7-0-1-56047<p>Hi ivyteam</p> <p>I just downloaded the ivy designer 7.0.1.56047 for my windows 10 Pro(x64)</p> <p>When i click to open designer, my windows say that: <img alt="alt text" src="https://answers.axonivy.com/upfiles/Untitled_8jW90ZG.png"></p> <p>It does not happen on older version, i also tried with AxonIvyDesigner7.0.0.55921_Windows_x64 and also working fine.</p> <p>Is this really something risk for my computer?</p> <p>Thanks</p>trungdvMon, 30 Oct 2017 08:09:40 -0400https://answers.axonivy.com/questions/2939/windows-alert-about-security-of-axonivy-7-0-1-56047ivy-securityHow to access static html file on webContent by url?https://answers.axonivy.com/questions/2938/how-to-access-static-html-file-on-webcontent-by-url<p>hi all</p> <p>I have a static html file on my webcontent, now i want to access it by using url. Does ivy support it and how to do it?</p> <p>Why i need it?</p> <p>My project has swagger yaml file in webcontent so in order to open it, i can use swagger-ui. Only thing i need to do is: copy swagger-ui to webcontent, then open the index.html and browse to yaml file. </p> <p>Does anyone know the way to make it on ivy? For the moment i need to introduce startlink to access this file but i don't like it much.</p> <p>Another question, can we secure the access to file in webcontent?</p> <p>Thanks</p>trungdvSun, 29 Oct 2017 23:58:05 -0400https://answers.axonivy.com/questions/2938/how-to-access-static-html-file-on-webcontent-by-urlswaggerivy-webcontent