Questions Tagged With casehttps://answers.axonivy.com/tags/case/?type=rssquestions tagged <span class="tag">case</span>enMon, 10 Jun 2019 03:25:09 -0400RuntimeException after destroying ivy casehttps://answers.axonivy.com/questions/3844/runtimeexception-after-destroying-ivy-case<p>Hi Ivyteam,</p> <p>We have a function to delete a list of cases base on dossierId:</p> <pre><code> SecurityManagerFactory.getSecurityManager().executeAsSystem2(() -&gt; { CaseQuery taskQuery = CaseQuery.create() .where().customVarCharField4().isEqual(dossierId); List&lt;ICase&gt; cases = Ivy.wf().getCaseQueryExecutor().getResults(taskQuery); cases.forEach(ICase::destroy); }); </code></pre> <p>After the case is destroyed successfully, the application is crashed because an exception</p> <p>IvyRuntimeException: Task '25' is no longer running. Maybe the task has been reseted or parked meanwhile. ELException: ch.ivyteam.util.IvyRuntimeException: Task '25' is no longer running. Maybe the task has been reseted or parked meanwhile. ContextAwareELException: javax.el.ELException: ch.ivyteam.util.IvyRuntimeException: Task '25' is no longer running. Maybe the task has been reseted or parked meanwhile. Error during rendering of html dialog 'ch.axonivy.desk.individual.customer1.DataGatheringPage'</p> <p>I am using Ivy 7.0.11. How can I overcome this exception?</p> <p>Thanks,</p> <p>Cuong Nguyen</p>nvcuong01Mon, 10 Jun 2019 03:25:09 -0400https://answers.axonivy.com/questions/3844/runtimeexception-after-destroying-ivy-casecaseHow to change stage inside case map?https://answers.axonivy.com/questions/2889/how-to-change-stage-inside-case-map<p>I have a case map project with 3 stages, each having one process. It should be possible to jump from first process to last stage.</p> <p>Inside scirpt I call</p> <pre><code>ivy.case.getBusinessCase().setStageId(stageIdStr) </code></pre> <p>But get error:</p> <pre><code>IllegalStateException: Only business cases with no active sub cases can be finished Could not handle case map event 'STAGE_CHANGED' for business case '4' </code></pre> <p>Because I am inside the process my case is still active. </p> <p><strong>Summary</strong>: As Pointed out in the answer, this error can be ignored and only triggers when after changing stage all processes are finished.</p>adamfWed, 27 Sep 2017 09:54:22 -0400https://answers.axonivy.com/questions/2889/how-to-change-stage-inside-case-mapcaseprocessAttachments of all Case Documents to Emailhttps://answers.axonivy.com/questions/2805/attachments-of-all-case-documents-to-email<p>In our projects we want to attach all documents which are appended to a specific case.</p> <p>More in detail:</p> <ol> <li>User attaches multiple files to a case</li> <li>Script step to prepare e-mail</li> <li>send email with help of the email step</li> </ol> <p>What do we need to do in step 2? Can you provide a short code snippet? Thanks a lot in advance!</p> <p>In our Project we use Ivy 6.0.6.</p>Alex WidmerFri, 11 Aug 2017 10:02:45 -0400https://answers.axonivy.com/questions/2805/attachments-of-all-case-documents-to-emailcaseemailCan not use ivy.repo in ResfulAPIhttps://answers.axonivy.com/questions/2777/can-not-use-ivy-repo-in-resfulapi<p>hi all</p> <p>I'm now using Ivy 6.3. When i create ResfulAPI by java (not use ivy element) and in that api i try to use ivy.repo() to store some data, it throw two exception: <img alt="alt text" src="http://answers.axonivy.com/upfiles/img1.png"> and <img alt="alt text" src="http://answers.axonivy.com/upfiles/img2.png"> I guess that because with pure java api, there is no task and case created but why we need them? as my understanding ivy.repo will store data to Ivy System DB and it's different from ivy process data which highly-related to ivy task&amp;case.</p> <p>Anybody can explain ? Thanks a lot</p>trungdvTue, 25 Jul 2017 06:16:41 -0400https://answers.axonivy.com/questions/2777/can-not-use-ivy-repo-in-resfulapicasebusiness-datarepositoryError when getting a File and putting in process Casehttps://answers.axonivy.com/questions/2704/error-when-getting-a-file-and-putting-in-process-case<p>Hi all,</p> <p>I'm writing a process that must start when a PDF file comes to a folder, and then, use this file (PDF ) in a Dialog to show it to the user -I guess that I can reference in a a-href HTML tag the file to open it by clicking on the link, but I'm not sure if that it's the best way to do it-. I have implemented a ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean start, and this is working fine. Then, in a script step, I'm trying to put the file in context in order to use it later in forms the way I've explained. So I've got a subprocess like: </p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Image_3_ReciWmX.png"></p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Image_5.png"></p> <p>With this code inside script step:</p> <pre><code>import ch.ivyteam.ivy.workflow.document.IDocumentService; File file = new File(in.pdfPath,true); ivy.case.documents().add(file.getName()); </code></pre> <p>But now, I'm getting this error:</p> <pre><code>IvyScriptMethodNotFoundException: Method add(String) for class ch.ivyteam.ivy.workflow.internal.document.LegazyCaseDocumentService of classloader org.eclipse.osgi.internal.loader.EquinoxClassLoader@6eae3730[ch.ivyteam.ivy.workflow:6.6.0.201704281153(id=100)] not found IvyScriptRuntimeException: IvyScript Runtime Exception in Instruction: ivy.case.documents().add(file.getName()) Block: es.jcd.axonivy.altapersonal.AltaEmpleadoData out; out = in; File file = new File(in.pdfPath, true); ivy.case.documents().add(file.getName()); BpmError: ivy:error:script RequestException: ivy:error:script Process Start Event Bean ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean [class=ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean, path=15BECE1340C42A33/eventLink.ivp] fire has been failed [errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=SYSTEM, pmv=designer$JCD_Alta_Personal$1] ch.ivyteam.ivy.request.RequestException: ivy:error:script at ch.ivyteam.ivy.request.RequestException$RequestExceptionBuilder.build(RequestException.java:166) at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleNormalRequest(BpmEngine.java:194) at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:140) at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:32) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanEngine.handleRequest(ProcessStartEventBeanEngine.java:442) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime.fireProcessStartEventRequest(ProcessStartEventBeanRuntime.java:229) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime.fireProcessStartEventRequestAsSystem(ProcessStartEventBeanRuntime.java:202) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime$3.call(ProcessStartEventBeanRuntime.java:142) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime$3.call(ProcessStartEventBeanRuntime.java:1) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1313) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanRuntime.fireProcessStartEventRequest(ProcessStartEventBeanRuntime.java:137) at ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean.processFile(FilePickupStartEventBean.java:160) at ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean.findAndReadFiles(FilePickupStartEventBean.java:111) at ch.ivyteam.ivy.process.eventstart.beans.FilePickupStartEventBean.poll(FilePickupStartEventBean.java:362) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanHolder.pollInContext(ProcessStartEventBeanHolder.java:163) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanHolder.pollInternal(ProcessStartEventBeanHolder.java:148) at ch.ivyteam.ivy.process.eventstart.internal.ProcessStartEventBeanHolder$PollJob.execute(ProcessStartEventBeanHolder.java:559) at ch.ivyteam.ivy.job.internal.JobManager$1.call(JobManager.java:382) at ch.ivyteam.ivy.job.internal.JobManager$1.call(JobManager.java:1) at ch.ivyteam.util.callable.ExecutionContextContainer$ContainerExecutionContext.call(ExecutionContextContainer.java:92) at ch.ivyteam.ivy.security.internal.SecurityManager.executeInContext_aroundBody0(SecurityManager.java:1365) at ch.ivyteam.ivy.security.internal.SecurityManager.executeInContext_aroundBody1$advice(SecurityManager.java:41) at ch.ivyteam.ivy.security.internal.SecurityManager.executeInContext(SecurityManager.java:1) at ch.ivyteam.util.callable.ExecutionContextContainer$ContainerExecutionContext.call(ExecutionContextContainer.java:88) at ch.ivyteam.util.callable.ExecutionContextContainer.executeInContext(ExecutionContextContainer.java:27) at ch.ivyteam.ivy.job.internal.JobManager.execute(JobManager.java:376) at ch.ivyteam.ivy.job.internal.Job.run(Job.java:56) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=SYSTEM, pmv=designer$JCD_Alta_Personal$1, processElement=15BECE1340C42A33-S40-f15] Caused by: BpmError ivy:error:script Unique ID: 15CB194B8537DCC2 Process Element: Subir PDF al proceso &lt;15BECE1340C42A33-S40-f15&gt; at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:204) at ch.ivyteam.ivy.bpm.engine.restricted.error.BpmErrorConverter.toBpmError(BpmErrorConverter.java:30) at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.executionException(BpmIvyScriptExecutor.java:117) at ch.ivyteam.ivy.scripting.restricted.execution.AbstractIvyScriptExecutor.execute(AbstractIvyScriptExecutor.java:167) at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.execute(BpmIvyScriptExecutor.java:84) at ch.ivyteam.ivy.bpm.exec.internal.activity.script.ScriptExecutor.execute(ScriptExecutor.java:31) at ch.ivyteam.ivy.bpm.exec.internal.activity.script.ScriptExecutor.execute(ScriptExecutor.java:1) at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.SimpleActivityExecutorAdapter.execute(SimpleActivityExecutorAdapter.java:36) at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$0(ProcessElement.java:215) at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:286) at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:215) at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:37) at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:140) at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:130) at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:95) at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:77) at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleNormalRequest(BpmEngine.java:190) ... 30 more [errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=0 (SYSTEM), pmv=designer$JCD_Alta_Personal$1, processElement=15BECE1340C42A33-S40-f15] Caused by: ch.ivyteam.ivy.scripting.exceptions.runtime.IvyScriptRuntimeException: IvyScript Runtime Exception in Instruction: ivy.case.documents().add(file.getName()) Block: es.jcd.axonivy.altapersonal.AltaEmpleadoData out; out = in; File file = new File(in.pdfPath, true); ivy.case.documents().add(file.getName()); at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.wrapException(IvyScriptEnginePerformer.java:1672) at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.visitControlInstructionInvoke(IvyScriptEnginePerformer.java:678) at ch.ivyteam.ivy.scripting.internal.language.ControlInstructionInvoke.acceptControlInstructionVisitor(ControlInstructionInvoke.java:98) at ch.ivyteam.ivy.scripting.internal.language.ControlInstruction.acceptInstructionVisitor(ControlInstruction.java:55) at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.execute(IvyScriptEnginePerformer.java:170) at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.execute(IvyScriptEnginePerformer.java:126) at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEngine.executeInternal(IvyScriptEngine.java:312) at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEngine.execute(IvyScriptEngine.java:281) at ch.ivyteam.ivy.scripting.restricted.execution.AbstractIvyScriptExecutor.executeInstruction(AbstractIvyScriptExecutor.java:197) at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.lambda$0(BpmIvyScriptExecutor.java:90) at ch.ivyteam.ivy.security.internal.SecurityContext.executeAs(SecurityContext.java:1289) at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.executeSecurely(BpmIvyScriptExecutor.java:103) at ch.ivyteam.ivy.bpm.exec.restricted.scripting.BpmIvyScriptExecutor.executeInstruction(BpmIvyScriptExecutor.java:90) at ch.ivyteam.ivy.scripting.restricted.execution.AbstractIvyScriptExecutor.execute(AbstractIvyScriptExecutor.java:158) ... 43 more [errorId=15CB194B8537DCC2, request=Business Processes/02_Alta_Personal_Impl.mod/eventLink.ivp(4.4.0.0), session=0 (SYSTEM), task=4, application=2147483647, requestId=76, executionContext=0 (SYSTEM), pmv=designer$JCD_Alta_Personal$1, processElement=15BECE1340C42A33-S40-f15] Caused by: ch.ivyteam.ivy.scripting.exceptions.invocation.IvyScriptMethodNotFoundException: Method add(String) for class ch.ivyteam.ivy.workflow.internal.document.LegazyCaseDocumentService of classloader org.eclipse.osgi.internal.loader.EquinoxClassLoader@6eae3730[ch.ivyteam.ivy.workflow:6.6.0.201704281153(id=100)] not found at ch.ivyteam.ivy.scripting.internal.language.IvyScriptEnginePerformer.visitControlInstructionInvoke(IvyScriptEnginePerformer.java:631) ... 55 more </code></pre> <p>Any idea?</p> <p>TIA</p>jirazazabalFri, 16 Jun 2017 11:48:33 -0400https://answers.axonivy.com/questions/2704/error-when-getting-a-file-and-putting-in-process-casecasefileCleanup of cases (and tasks) via an IVY Process causes to Database Deadlockshttps://answers.axonivy.com/questions/2683/cleanup-of-cases-and-tasks-via-an-ivy-process-causes-to-database-deadlocks<p>I refer to the question # “478 - How to cleanup old Cases / Tasks?” with my questions:</p> <ol> <li> <p>“Triggers in the XpertIvySystemDatabase” Among other triggers there is a trigger when deleting cases and when deleting tasks. Because the installing and setup of IVY was done many years ago by a former colleague so my first question is: Were all triggers delivered by AXONIVY?</p> </li> <li> <p>“Cleanup of old Cases and Tasks” We use an timer triggered Ivy Process for the Cleanup with the sql-statement for deleting finished cases: “DELETE FROM IWA_Case WHERE DATEDIFF(dd, EndTimestamp, GETDATE()) &gt; in.TimestampString.</p> </li> </ol> <p>The Timestampstring contains the number of days the finished cases will be stored.</p> <p>For example: “DELETE FROM IWA_Case WHERE DATEDIFF(dd, EndTimestamp, GETDATE()) &gt; 7” will delete all finished cases older than 7 days.</p> <p>As mentioned in my first question, all Delete-Statements in the CASE-DELETE-Trigger and all the nested Delete-Statements in the TASK-DELETE-Trigger will be executed automatically.</p> <p>This causes to Database-Deadlocks – see one Message of our Nagios tool:</p> <p>5 deadlocks detected on LUXDB004</p> <pre><code>spid status loginame hostname blk open_tran dbname cmd waittype waittime last_batch SQLStatement 66 suspended sa_ivy LUXAS004 0 2 IvyDb DELETE 0044 6 Jun 6 2017 08:58:20:460PM DELETE IWA_TaskData FROM IWA_TaskData, deleted WHERE IWA_TaskData.TaskId = deleted.TaskId \n \n 66 suspended LUXAS004 0 0 IvyDb DELETE 00bb 76873 Jun 6 2017 08:58:20:460PM DELETE IWA_TaskData FROM IWA_TaskData, deleted WHERE IWA_TaskData.TaskId = deleted.TaskId \n \n 66 suspended LUXAS004 0 0 IvyDb DELETE 00bb 71822 Jun 6 2017 08:58:20:460PM DELETE IWA_TaskData FROM IWA_TaskData, deleted WHERE IWA_TaskData.TaskId = deleted.TaskId \n \n 66 suspended LUXAS004 0 0 IvyDb DELETE 00bb 49495 Jun 6 2017 08:58:20:460PM DELETE IWA_TaskData FROM IWA_TaskData, deleted WHERE IWA_TaskData.TaskId = deleted.TaskId \n \n 66 suspended LUXAS004 0 0 IvyDb DELETE 00bb 55455 Jun 6 2017 08:58:20:460PM DELETE IWA_TaskData FROM IWA_TaskData, deleted WHERE IWA_TaskData.TaskId = deleted.TaskId \n \n </code></pre> <p>What is wrong? What must we do to avoid this deadlocks?</p> <p>Thanks in advance. Dieter</p>Dieter StaudtThu, 08 Jun 2017 07:34:33 -0400https://answers.axonivy.com/questions/2683/cleanup-of-cases-and-tasks-via-an-ivy-process-causes-to-database-deadlockscasetasksystemdbivyCreate case with different userhttps://answers.axonivy.com/questions/2593/create-case-with-different-user<p>Do you have an advise/idea how we can implement following requirement in Ivy:</p> <ol> <li>An Ivy Webservice gets called from <strong>User A</strong>.</li> <li>The Webservice process triggers another Ivy Business Process with the help of the "TriggerElement".</li> <li>The triggered Business Process should have as CaseCreator a <strong>User B</strong> not User A. (can we maybe set the User B as active user before we trigger the Business Process?)</li> </ol> <p>Thank you in advance!</p>peter_mucMon, 24 Apr 2017 09:29:28 -0400https://answers.axonivy.com/questions/2593/create-case-with-different-usercaseuserCan we set Case status to DONE?https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-done<p>Hi all</p> <p>Is there any ways to set case status to DONE? and should we do that manually?</p> <p>Thanks</p>trungdvMon, 20 Mar 2017 08:53:04 -0400https://answers.axonivy.com/questions/2504/can-we-set-case-status-to-donecaseHow to get Business Case by APIhttps://answers.axonivy.com/questions/2439/how-to-get-business-case-by-api<p>Hi all</p> <p>Following <a href="http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html">this guideline</a>, section Business Case says that in case we use Trigger or Signal, A case could be attached to a Business Case, <img alt="alt text" src="http://answers.axonivy.com/upfiles/Untitled_SvdPoPn.png"></p> <p>I have two questions:</p> <ul> <li>Business Case is a implementation or just a Concept? </li> <li>Is there any API to work with it? Like i want to collect all Cases belong to my app (because i use a lot of signal in order to create Task)</li> </ul> <p>Thanks</p>trungdvTue, 14 Feb 2017 03:18:01 -0500https://answers.axonivy.com/questions/2439/how-to-get-business-case-by-apicasebusinessSQL Select all Cases that belong to a specific Process Model Versionhttps://answers.axonivy.com/questions/1768/sql-select-all-cases-that-belong-to-a-specific-process-model-version<p>How would a SQL select statement look like, that returns all Cases that run in a specific Process Model Version?</p>SupportIvyTeamWed, 11 May 2016 10:43:21 -0400https://answers.axonivy.com/questions/1768/sql-select-all-cases-that-belong-to-a-specific-process-model-versioncasepmvsystemdbsqlWhy does Axon.ivy persist an ICase when `setAdditionalProperty` is invoked even if there is no TaskSwitch element?https://answers.axonivy.com/questions/1755/why-does-axon-ivy-persist-an-icase-when-setadditionalproperty-is-invoked-even-if-there-is-no-taskswitch-element<p>There written in the <a href="http://developer.axonivy.com/doc/latest/DesignerGuideHtml/ivy.concepts.html#ivy-wf-states">public document</a>:</p> <blockquote> <p>Normally, a case is started non persistent. This means it is stored in memory only. As soon as the process hits a task switch the case and its tasks will be made persistent by storing them to the system database.</p> </blockquote> <p>I just found out that you can make an ICase persisted without any TaskSwitch element in the process by setting an <code>additionalProperty</code>.</p> <p>As soon as the line of code is evaluated:</p> <pre><code>ivy.case.setAdditionalProperty("anything-will-do", "some-value"); </code></pre> <p>The <code>ICase</code> will be persisted <em>immediately</em>.</p> <p>Is this a non-public behaviour or a bug in the API?</p> <p>P.S: there is a demo project to demonstrate this behaviour at <a href="https://www.mediafire.com/?hxi3z0v27dhjxh4">https://www.mediafire.com/?hxi3z0v27dhjxh4</a></p>Genzer HawkerFri, 29 Apr 2016 05:40:29 -0400https://answers.axonivy.com/questions/1755/why-does-axon-ivy-persist-an-icase-when-setadditionalproperty-is-invoked-even-if-there-is-no-taskswitch-elementcaseadditional-propertypersistenceworkflowLink case to datahttps://answers.axonivy.com/questions/1724/link-case-to-data<p>Hi,</p> <p>is it acutally possible to retrive the data of a specific case, to basically show a list of cases with the corresponding dataclasses? Or is there a better way to show a user the state of cases and the data stored within them.</p> <p>So far i tried to solve this via IvyScript and query for the specificy Cases I want to show but I can't find a way to link a case to its input data. </p>poteaSat, 09 Apr 2016 21:07:58 -0400https://answers.axonivy.com/questions/1724/link-case-to-datacasedataclassCase Management for each Employeehttps://answers.axonivy.com/questions/1701/case-management-for-each-employee<p>Hi I want for each Employee a Case. How am i able to do that? At the Moment i am iterating through a list of Employee and give each of them a task. At the moment they use the same Case. I am working with the Ivy Task step and a System Task to iterate through.</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Unbenannt_avMa5t6.PNG"><a title="Code" href="\C:\Users\Fhi\Downloads/Unbenannt.png">code</a></p>Florian HitzTue, 29 Mar 2016 16:50:38 -0400https://answers.axonivy.com/questions/1701/case-management-for-each-employeecaseCase management : what's comming up?https://answers.axonivy.com/questions/1507/case-management-what-s-comming-up<p>I'd like to know what's coming up as a solution for Case management. I mean by that a tool to modelize and execute ad-hoc processes from a business point of view. Have you anything coming up in the near future?</p>enricojlFri, 09 Oct 2015 15:58:10 -0400https://answers.axonivy.com/questions/1507/case-management-what-s-comming-upcaseGet process data of a delayed taskhttps://answers.axonivy.com/questions/1394/get-process-data-of-a-delayed-task<p>I start cases via a trigger element with a delay (blocking period) and some parameters. In another prozess I query this delayed tasks an want to retrieve the parameters with the getStartProcessData() method like with other running tasks. But the method here returns always null. Is there a way to get the input parameter of a delayed started case?</p>Peter WeberThu, 09 Jul 2015 09:06:37 -0400https://answers.axonivy.com/questions/1394/get-process-data-of-a-delayed-taskcaseivyscripttaskSort Task by CASE_NAMEhttps://answers.axonivy.com/questions/1355/sort-task-by-case_name<p>Hello,</p> <p>in one of our HTML Dialog, we use a datatable with Ivy Tasks in it. For that we use the ch.ivyteam.wf.common.TaskLazyDataModel as done in the jsfWFUI in the TaskList View. One of our column is #{task.case.name} and I really would like to be able to sort that column. Unfortunately, there CASE_NAME is not present in the TaskProperty Enum and if i figure how it work correctly, it must be there to be able to use sortBy="#{CASE_NAME}". Is there some way to do this ?</p> <p>FTM I see two options :</p> <ol> <li>In the TaskProperty Enum I saw CUSTOM_VARCHAR_FIELD_1. Would it do the job ? If yes how does it work ? Do you have example(s - one would be enough) ?</li> <li>Making a table without the lazy part but that would be a problem if the app is heavily used.</li> </ol> <p>Thank you for your answer Denis</p>dbalasseTue, 09 Jun 2015 16:57:36 -0400https://answers.axonivy.com/questions/1355/sort-task-by-case_namecasejsftasksjsfwfuiBPMN Tansactional Subprocess modelled with Xpert.Ivyhttps://answers.axonivy.com/questions/845/bpmn-tansactional-subprocess-modelled-with-xpert-ivy<p>I am trying to implement an use case to cancel the current case flow. Simplified example can be described as: </p> <p>There are two activities 'A' immediately followed by 'B'. 'B' Activity involves human interaction (an entry in todo list) and can be postponed. The challenge is to 'restart' 'A' activity and perform some steps to cancel already started 'B' activity. </p> <p>With BPMN i would model 'B' activity with transactional subprocess and cancel event. Quick web searching for 'BPMN Cancel' leads to the usable examples. </p> <p>AFAIK there are no direct counterparts neither for BPMN 2.0 Transactional Subporcess nor for cancel event in xIvy.Designer. </p> <p>The questions are: </p> <ol> <li>Is it possible to model it in xPert.Ivy or there are show stoppers? </li> <li>There is an API to find and cancel case. Can I set the case to the defined state, say a task? </li> <li>Probably another solution for the problem?</li> </ol> <p>Best regards, </p> <p>Mikhail.</p>mgalyutinThu, 10 Jul 2014 10:45:52 -0400https://answers.axonivy.com/questions/845/bpmn-tansactional-subprocess-modelled-with-xpert-ivycaseProcess category and process name in task display of RIA WorkflowUIhttps://answers.axonivy.com/questions/365/process-category-and-process-name-in-task-display-of-ria-workflowui<p>In the Task Switch I use in the tab <code>Case categorization</code> the field <code>Process category</code> but not the field <code>Process</code>. If I list now the tasks in the in the WorkflowUI, then I have an additional empty folder. Do I need to set the field Process too or is there another possibility to suppress the empty folder?</p>Manuela HeiblWed, 14 Jul 2010 10:05:10 -0400https://answers.axonivy.com/questions/365/process-category-and-process-name-in-task-display-of-ria-workflowuiprocesscasetaskworkflowui