Questions Tagged With javahttps://answers.axonivy.com/tags/java/?type=rss&user=Lars%20Tuchelquestions tagged <span class="tag">java</span>enTue, 07 Jul 2015 14:36:24 -0400How can I get the ClassLoader of a specific PMVhttps://answers.axonivy.com/questions/1391/how-can-i-get-the-classloader-of-a-specific-pmv<p>Hi everyone</p> <p>Is it possible to receive the ClassLoader of a specific Process Model/Process Model Version (if I already have an <code>IProcessModelVersion</code> instance)?</p> <p>Best regards Lars</p>Lars TuchelTue, 07 Jul 2015 14:36:24 -0400https://answers.axonivy.com/questions/1391/how-can-i-get-the-classloader-of-a-specific-pmvjavaStart a process in plain Javahttps://answers.axonivy.com/questions/179/start-a-process-in-plain-java<p>Is there a possibility to start a Xpert.ivy process from a Java bean in my ivy project? Either by calling a request start or a sub process...</p> <p>Something like:</p> <pre><code>String signature = "myProcess()"; Set&lt;IProcessStart&gt; processes = ivy.wf.findProcessStartsBySignature(signature); if(!processes.isEmpty()){ IProcessStart process = processes.iterator().next(); IProcessRequest request = RequestFactory.createProcessRequest( ivy.request.getProcessModelVersion(), process.getRequestPath(), new HashMap&lt;String, Object&gt;() ); try{ // somehow send the request... }catch(Exception e){ // do some exception handling if process fails... } } </code></pre> <p>The main purpose is to be able to catch exceptions which may be thrown from the process. </p>Lars TuchelFri, 06 Dec 2013 14:38:35 -0500https://answers.axonivy.com/questions/179/start-a-process-in-plain-javajava