Hi all

I have a case map as below, that case map has only two stages, one process for each. Step 2 is terminated process. alt text In our business, there is a requirement that :

  • User input data in step 1then submit, if that data need to be verified, then process will come to stage 2 (step 2). After that process can be terminated
  • If in step 1 the data user enter is qualified enough then process can be terminated immediately. There is no need to go to stage 2 anymore

My question is:

  • Can casemap support for this business?
  • Can we terminate process programmatically? then i can use in step 1.


asked 22.03.2018 at 04:35

trungdv's gravatar image

accept rate: 52%

A easy solution would be to define a precondition on process step 2.

At the momment there are no preconditions on level stage. There is an api to jump between stages with ivy.case.getBuinessCase().setStageId("stage2"). But you can not jump to no stage.


answered 22.03.2018 at 06:01

Alex%20Suter's gravatar image

Alex Suter ♦♦
accept rate: 84%

edited 22.03.2018 at 06:02

Thanks @Alex Suter ♦♦ .It works. But regarding to this question https://answers.axonivy.com/questions/3045/how-to-skip-remain-processes-on-casemap-after-condition-is-failed . It gonna be more complicated if in stage 2 there is many processes, even more stage then we need to check that condition for all remaining processes. Imo we should have the api to end the stage by condition.

(23.03.2018 at 00:47) trungdv trungdv's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 22.03.2018 at 04:35

Seen: 653 times

Last updated: 23.03.2018 at 00:47