Questions Tagged With processhttps://answers.axonivy.com/tags/process/?type=rss&user=Emmanuel%20Combaquestions tagged <span class="tag">process</span>enTue, 29 May 2018 07:04:59 -0400Ivy Process Start parameters Encodinghttps://answers.axonivy.com/questions/3287/ivy-process-start-parameters-encoding<p>Hello IvyTeam !</p> <p>Sometimes Ivy Processes are called via their url in a browser and we set some params as URLEncoded Parameters. Example : firstname=Élisabeth and lastname=Müller <a href="http://comba:8081/ivy/pro/designer/services_mock/162D9B06E7844FCB/videoIdentification.ivp?gender=Frau&amp;firstname=%C3%89lisabeth&amp;lastname=M%C3%BCller">http://comba:8081/ivy/pro/designer/services_mock/162D9B06E7844FCB/videoIdentification.ivp?gender=Frau&amp;firstname=%C3%89lisabeth&amp;lastname=M%C3%BCller</a></p> <p>In that case we have to encode the url parameters with "ISO-8859-1" charset which is the IVY default encoding. Is that possible to change this to "UTF-8"? Shouldn't Ivy set the default encoding to "UTF-8"?</p> <p>This has been tested with Ivy 7.0.4.</p> <p>Thanks a lot in advance Cheers Emmanuel</p>Emmanuel CombaTue, 29 May 2018 07:04:59 -0400https://answers.axonivy.com/questions/3287/ivy-process-start-parameters-encodingprocessencodingHow to quick search for some text in a mod file?https://answers.axonivy.com/questions/3277/how-to-quick-search-for-some-text-in-a-mod-file<p>Hello IvyTeam,</p> <p>We need often to search for some code snippet in some big Ivy Process files (.mod). We can do it in the text editor but it is not very handy to change anything there. The best would be to search with CTRL+F for some text. Then the designer should highlight the Steps where this text has been found. This would be a great help for our productivity.</p> <p>Do you plan to do such an improvement? </p> <p>Thanks in advance Emmanuel</p>Emmanuel CombaThu, 17 May 2018 10:47:34 -0400https://answers.axonivy.com/questions/3277/how-to-quick-search-for-some-text-in-a-mod-fileprocessfileHow to get the URL of a process start within a JAX-RS classhttps://answers.axonivy.com/questions/3218/how-to-get-the-url-of-a-process-start-within-a-jax-rs-class<p>Hello IvyTeam,</p> <p>My Ivy Version : 7.0.3 I would like to get the url from a process in a JAX-RS Rest Resource but I get an Exception with this code:</p> <pre><code>Ivy.html().startref("Functional Processes/dis/videoIdentification/start.ivp") </code></pre> <p>The JAX-RS Resource is located in the same project as the process. It works without problem in a Process (IvyScript Step).</p> <p>I can imagine that the fact the code is in a JAX-RS Resource does not allow accessing some Ivy resources like the ProjectModelVersion Provider. Is there a workaround for that? Or do I have to compute the url more manually with the InetAddress and so on ? By the way this code works in this resource: Ivy.html().applicationHomeRef()</p> <p>Thanks in advance </p> <p>Here the StackTrace I get:</p> <pre><code> com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error in custom provider, java.lang.NullPointerException while locating ch.ivyteam.ivy.workflow.internal.di.CaseProjectProcessModelVersionProvider while locating ch.ivyteam.ivy.application.IProcessModelVersion annotated with interface ch.ivyteam.ivy.scope.restricted.FromCaseScope Caused by: java.lang.NullPointerException at ch.ivyteam.ivy.workflow.internal.di.CaseProjectProcessModelVersionProvider.get(CaseProjectProcessModelVersionProvider.java:18) at ch.ivyteam.ivy.workflow.internal.di.CaseProjectProcessModelVersionProvider.get(CaseProjectProcessModelVersionProvider.java:1) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62) at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1019) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085) at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1015) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1050) at ch.ivyteam.di.restricted.DiInjector.getInstance(DiInjector.java:77) at </code></pre>Emmanuel CombaWed, 18 Apr 2018 15:06:23 -0400https://answers.axonivy.com/questions/3218/how-to-get-the-url-of-a-process-start-within-a-jax-rs-classprocessurlivyrest