Questions Tagged With ivy7xhttps://answers.axonivy.com/tags/ivy7x/?type=rss&user=trungdvquestions tagged <span class="tag">ivy7x</span>enWed, 19 Sep 2018 00:23:01 -0400How 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-ivyivy7xruleengineAuto 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-conditioncasemapivy7xIvy 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-referencecasemapivy7xCan 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-mapcasemapivy7xbusinesscase