If we have three case tasks, userTask1, userTask2, userTask3. If we complete the userTask1 with the outcome as ‘accepted’ it should go to ‘userTask2’ if the outcome is ‘rejected’ it should go ‘userTask3’.
Is it possible in the flowable case, If yes how can we map the case task outcomes such that while complete task1 with the outcome it should navigate to usertTask2 or userTask3.
Can we navigate to previously completed case task based on task outcome
If we have three case tasks, task1, task2, task3. Currently, if we are at task2 (please find in below diagram), based on the condition can we move tho task1 or task3. We are able to navigate to task3 but we aren’t able to navigate to task1.
for task3 sentry I’ve configured ‘{variables:get(taskResult) == “task3”}’, for task1 sentry I’ve configured '{variables:get(taskResult) == “task1”}’.
While completing task2 by providing ‘taskResult’ variable value to “task3” able to navigate to task3. But providing ‘taskResult’ variable to value to ‘task1’ we are unable to navigate to ‘task1’. Just it is completing task2. In case task Is it possible to navigate back to the previously executed task.
By default in CMMN, every plan item has only one instance.
To do what you want, you need to make task 1’repeatable’. That way, a new instance will be created when the entry sentry becomes true.