Hello!
I am trying to use CMMN embedded in my application.
I need human tasks to be available while exit criterions are false (i.e. wait for user to enter correct amount and duration).
However, then I mark them as complete() they are gone away.
What I am doing wrong? Maybe I should make a different CMMN scheme?
loanCalc.cmmn (8.2 KB)
Hi,
If you mark the human tasks as complete, i would expect them to ‘go away’ as once complete, they do not have a repetition rule.
Hence could you explain the desired behaviour you want in more detail?
regards
Rob
I need human tasks to have certain criteria for completion, for example
Duration < 24 months,
Amount > 1000
I thought that having exit criterion with such condition will prevent issuing complete or keep task available.
If I must by myself check exit criteria how can i do it programmatically?
If i set repetetive=true on task it is always available even if exit critetia is fullfilled.
Hey @huksley,
you define a repetition condition directly at the repetition rule.
Like ${duration < 24 && amount > 1000}
See https://docs.camunda.org/manual/7.6/reference/cmmn11/markers/repetition-rule/ for reference.
cheers
Malte
Thanks!
Do I need to set EntryCriterion (i.e. repeat it twice) on DoCalc task?