Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task does not await incomming message flows after resumed at breakpoint. #120

Open
frasalSyc opened this issue Jan 19, 2025 · 3 comments
Open
Labels
bug Something isn't working

Comments

@frasalSyc
Copy link

Describe the Bug

Trigger Event at Breakpoint: Task does not await incoming message flows

Steps to Reproduce

Model two Processes with connected Tasks (incoming and outgoing Message Flows). See example.
Set a Breakoint to Task A
Launch both Processes (Task B first)
Trigger Event at Task A
Outgoing Message Flows will be triggered, but incoming Message flows will not be awaited at the task resumed at breakpoint..

Expected Behavior

Task manually triggered at breakpoint should have the same behaviour as without breakpoint: Send message Tokens to outgoing message Flows and await message Tokens from incoming message Flows in the order from left to right. No matter, the incoming is the first or the following flow.

Environment
Camunda Modeler system information

Version: 5.31.0
Operating System: Windows 10 amd64
Plugins: bpmn-js Token Simulation
Execution Platform: BPMN - Camunda 7

Image

@frasalSyc frasalSyc added the bug Something isn't working label Jan 19, 2025
@barmac
Copy link
Contributor

barmac commented Jan 21, 2025

@nikku to look into this.

@nikku
Copy link
Member

nikku commented Jan 22, 2025

@frasalSyc Thanks for the report. This indeed is a bug that has to be fixed in the upstream token simulation project.

From the perspective of Task A, there is two things to do in sequence: (1) trigger the message, (2) produce an outgoing token.

@frasalSyc
Copy link
Author

@nikku If you start Proc A without a Breakpoint in Task A, Task A triggers a Message. Assumed Task B is having the Token, Task B awaits the incoming Message and returns a Message Token back to Task A. Task A waits for this incoming Message an then the Token goes to End. Waiting for Incoming Message does not happen, if Task A Breakpoint is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants