Hello, i createad that simple test proces to show my Problem:

In the start of the process a class will be executed to check if all relevant data to send a message automatically is available. After that the result will be checked in the flow conditions after Exclusive Gateway.
My Problem is here, that if we go to the UserTask"Create Message manually" (Data was not valid, so the user has to create the message manually) it will be skipped automatically so the process is instant in the State "TestTask".
The UserTask "Create Message manually" though is still available as UserTask. In the Process State History is the UserTask "Create Message manually" available and has a start and enddate which is equal.
If i put some other element before the UserTask"Create Message manually" like another gateway or a ServiceTask it will work perfectly fine, but this is not the best option to avoid this problem.
If i changed the gateway type to Inclusive Gateway it is also working as intend, but this is also not really the best solution.
Do you have an idea to this problem? Thanks in advanced
My BPMN Process (.xml) is attached:
Test_Process.bpmn20.xml.zip
Hello, i createad that simple test proces to show my Problem:
In the start of the process a class will be executed to check if all relevant data to send a message automatically is available. After that the result will be checked in the flow conditions after Exclusive Gateway.
My Problem is here, that if we go to the UserTask"Create Message manually" (Data was not valid, so the user has to create the message manually) it will be skipped automatically so the process is instant in the State "TestTask".
The UserTask "Create Message manually" though is still available as UserTask. In the Process State History is the UserTask "Create Message manually" available and has a start and enddate which is equal.
If i put some other element before the UserTask"Create Message manually" like another gateway or a ServiceTask it will work perfectly fine, but this is not the best option to avoid this problem.
If i changed the gateway type to Inclusive Gateway it is also working as intend, but this is also not really the best solution.
Do you have an idea to this problem? Thanks in advanced
My BPMN Process (.xml) is attached:
Test_Process.bpmn20.xml.zip