Questions Tagged With processhttps://answers.axonivy.com/tags/process/?type=rss&user=adamfquestions tagged <span class="tag">process</span>enWed, 27 Sep 2017 09:54:22 -0400How 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-mapcaseprocess