I am using the Flowable Modeler, and I want to create a case definition where, a plan item (User task) is activated only when the milestone is completed.
I don’t want to place the plan item in a stage and then access it.
I don’t know if it is the correct way of doing it, but I’ve tried giving the entry sentry the condition of
{Milestonename.isCompleted() == true}
It isn’t working.
I’ve read that milestones reach the state of ‘occur’ and not ‘completed’. So, I tried to change the transition event type to ‘occur’, but that didn’t work either.
I want to know how route the plan items based on milestones.
Can I know if there’s a way to complete only one task, say ‘Human Task 2’ and proceed to ‘Human Task 3’ while marking the milestone as complete? It is basically an option to skip few tasks.
In general, a item is permitted when any entry sentry meets all of its requirements. In other words, the criteria on any sentry is ANDed and sentries are ORed together. So you can do something like this:
the user can either complete two tasks to fill in a name and address or complete a long form
If the user elects to fill in the name and address, the long from task gets cancelled once the address is complete and work history begins
If the use elects to fill in the long form, it cancels any activated name and address tasks and work history begins.