Questions asked by ruffzyhttps://answers.axonivy.com/questions/asked-by/678/ruffzy/?type=rssQuestions asked by <a href="/users/678/ruffzy" >ruffzy</a>enTue, 07 Feb 2017 10:14:59 -0500How to specify database instance name?https://answers.axonivy.com/questions/2425/how-to-specify-database-instance-name<p>How can I specify the instance name of a database in the database configuration window of the ivy server? If I am using the management studio way with DATABASENAME\INSTANCENAME I am getting an unknow server host name exception. I have seen that the jdbc connection string actually asks for an adittional argument instanceName - but I am not able to set this value.</p>ruffzyTue, 07 Feb 2017 10:14:59 -0500https://answers.axonivy.com/questions/2425/how-to-specify-database-instance-namemssqlsqlException when converting project to version 6.0.5https://answers.axonivy.com/questions/2251/exception-when-converting-project-to-version-6-0-5<p>When every we try to convert one of our existing project to the current Designer version we receive the following exception: </p> <pre><code># Conversion log for project 'xapf_customer' from version 0 to 51917 # Created on 07.12.2016 13:50:18 07.12.2016 13:50:18 : Info : Scanning contents of &lt;L/xapf_customer/src_rd/ch/ivyteam/ivy/addons/commondialogs/MessageDialogOverride/MessageDialogOverride.eventmappings&gt; 07.12.2016 13:50:18 : Info : Scanning contents of &lt;L/xapf_customer/src_rd/ch/ivyteam/ivy/addons/commondialogs/LoginDialogOverride/LoginDialogOverride.eventmappings&gt; 07.12.2016 13:50:18 : New Task : Updating cms/configurations of project. 07.12.2016 13:50:18 : New Task : Removing obsolete content from project cms. 07.12.2016 13:50:18 : New Task : Adding new default HMTL content to project cms. 07.12.2016 13:50:18 : New Task : Creating configuration DB with content. 07.12.2016 13:50:18 : Error : Unexpected error when converting project 'xapf_customer'. 07.12.2016 13:50:18 : Error : ch.ivyteam.ivy.cm.exceptions.CmsExistsAlreadyException: Cms with name/id &lt;config&gt; exists already for process model version &lt;designer$xapf_customer$1&gt; at ch.ivyteam.ivy.cm.internal.ContentManagement.createCms_aroundBody24(ContentManagement.java:700) at ch.ivyteam.ivy.cm.internal.ContentManagement.createCms_aroundBody25$advice(ContentManagement.java:34) at ch.ivyteam.ivy.cm.internal.ContentManagement.createCms(ContentManagement.java:1) at ch.ivyteam.ivy.cm.impl.DesignerContentManagement.createConfigCms(DesignerContentManagement.java:181) at ch.ivyteam.ivy.designer.project.internal.convert.tasks.UpdateContentToVersion3.doConvertProject(UpdateContentToVersion3.java:85) at ch.ivyteam.ivy.designer.project.restricted.convert.AbstractIvyProjectConverterTask.convertProject(AbstractIvyProjectConverterTask.java:96) at ch.ivyteam.ivy.designer.project.restricted.convert.IvyProjectConverter$1.run(IvyProjectConverter.java:293) at ch.ivyteam.eclipse.util.WorkspaceRunnable$1.run(WorkspaceRunnable.java:71) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295) at ch.ivyteam.eclipse.util.WorkspaceRunnable.execute(WorkspaceRunnable.java:88) at ch.ivyteam.ivy.designer.project.restricted.convert.IvyProjectConverter.convertProject(IvyProjectConverter.java:316) at ch.ivyteam.ivy.designer.project.restricted.convert.IvyProjectConverter$2.run(IvyProjectConverter.java:486) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) </code></pre> <p>Can someone please explain what is going on?</p>ruffzyWed, 07 Dec 2016 13:55:10 -0500https://answers.axonivy.com/questions/2251/exception-when-converting-project-to-version-6-0-5projectdesignercmsconfigurationdeploymentIs there a way to use some kind of semaphore in ivy?https://answers.axonivy.com/questions/2184/is-there-a-way-to-use-some-kind-of-semaphore-in-ivy<p>I have the situation that I have a database call which gives me a list of elements. Some activities later I write down the modified elements to the db. This is working fine als long as I don't have parallelism. The problem is that the second db operation potentially affects the first db operation. If now two tasks arrive at the first element and read from the database before one task has written the result to the db I get a wrong result. The solution would be to prevent the second task entering the first database read until the first task has written down the result.</p> <p>Do we have some kind of support for such cases?</p>ruffzyMon, 14 Nov 2016 20:58:27 -0500https://answers.axonivy.com/questions/2184/is-there-a-way-to-use-some-kind-of-semaphore-in-ivybest-practicepersistencethreadHas method findWorkTasks() used for sending daily tasks changed in ivy 6.x?https://answers.axonivy.com/questions/1987/has-method-findworktasks-used-for-sending-daily-tasks-changed-in-ivy-6-x<p>We have upgraded an existing ivy 4.3.x project to ivy 6.0.4. After the update all users who receive the daily task email suddenly have some strange tasks in their email. After a short research I found that the following API method creates the list of tasks for the user:</p> <pre><code>ch.ivyteam.ivy.workflow.IWorkflowContext.findWorkTasks(IUser user, int startIndex, int count) </code></pre> <p>As we haven't actually changed anything at all I guess that this method now returns more tasks than in earlier versions. The additional tasks have an activator called "Top level role" and the expiryTimestamp is not set. </p> <p>Can anyone confirm this change in findWorkTasks or has an idea what the reason of this behaviour is?</p> <p>regards, marco </p>ruffzyWed, 24 Aug 2016 13:31:16 -0400https://answers.axonivy.com/questions/1987/has-method-findworktasks-used-for-sending-daily-tasks-changed-in-ivy-6-xapiemailtask