Context
I need to create a development workflow (checkin, checkout, validation ...).
For some transition states, the user must fill out a report. When the user changes the state of object O from state S1 to state S2, he must fill out a report.
- The user can cancel the report, but remains in state S1.
- The user can close the browser, O remains in state S1.
- If he checks the report, O goes into state S2.
I am trying to find a structure where I can implement these limitations.
jBPM / Drools
I can implement 1 and 3 with the โHuman Challengeโ between S1 and S2, but it overwhelms a little simple report. To implement 1, I have to do a bi-directional connection between S1 and the Human Task. I cannot do step 2: if the user closes the browser, O remains in the "Human Task" state.
Another way?
Another way is to have an external file. This file will give for this transition S1-> S2, which will be displayed on the display.
Is there another way? And what, in your opinion, is the best use case?
Thank you for your help.
source
share