yuuvis® RAD Q&A

0 votes
by (14.8k points)
Currently it is not possible to control whether the process start action should be offered or not depending on a field value of the corresponding object. How can I prevent the start, if the value is not yet correct for it?

1 Answer

+1 vote
by (14.8k points)

There are two solutions:

  1. Let the user start the process and control within BeforeStartEvent of the main activity whether to stop or to go for it.
  2. I prefer this solution: define a startform, if not yet needed, and show the corresponding field, may read only, and set and error with a message on it, if the process should not be started. This will lead to an inactive OK-button. So the process can not be startet.
by (2.9k points)
We also went for the 2. solution in our cases and that worked very good. You don't even start a process instance as far as i know.