sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
66 stars 43 forks source link

Messages - Error - This process is not waiting for xxx #1809

Open madhurrya opened 3 months ago

madhurrya commented 3 months ago

When I run these 2 models I get this error 'This process is not waiting for UnitTest_Message1.'

unit-test-receive-task-new (2).bpmn.txt unit-test-send-task-new (2).bpmn.txt

Image

Image

Image

madhurrya commented 3 months ago

~Update : I removed the underscore from message name also and tried again and with that didn't notice this error so far. Not sure whether the error is related to that.~ ~If so we'll have to properly validate the input fields and show proper messages to the user, otherwise users will get different errors and face different issues like I have been facing if there is something wrong with the naming.~

~But if the underscore is going to cause issues, we'll have issues in Prod models as they have used underscores there already~

~Image~

~Image~

madhurrya commented 3 months ago

Update : I got the same error again. So it's not related to the underscore I mentioned above.

https://dev.app.spiff.status.im/i/3249

Image

Image

Image

unit-test-receive-task-new (3).bpmn.txt unit-test-send-task-new (3).bpmn.txt

As I can remember these are the steps I followed. -First set a matching correlation key and it worked without any error -Then changed the matching value and they didn't completed as they are not matching -Then again changed the value to match and ran again and then got this error

madhurrya commented 3 months ago

Got the same with these 2 models also This time got it in the first time I set the matching condition and ran it. And then I changed the matching condition value and ran it and got it again.

Image

Image

Image

unit-test-message-end-event.bpmn.txt unit-test-message-start-event.bpmn.txt