Message Correlation

Fixture #09: a waiting instance resumes when the message key matches

Message Correlation Fixture #09: a waiting instance resumes when the message key matches POST /Definitions/deploy key + version POST /Execution/start start instance instance id Subscribe approvalReceived/req-456 requestId set by script; token waits POST /Execution/message name + key + Variables DeliverMessage(variables) HandleMessageDelivery merge vars, resume to end 200 delivered, instance ids no subscriber: 404 Deploy + start Wait Deliver Client app · curl / your service · Sequence participant Client app curl / your service Fleans API · /Execution endpoints · Sequence participant Fleans API /Execution endpoints Instance · WorkflowInstance · Sequence participant Instance WorkflowInstance Correlation · one per name/key · Sequence participant Correlation one per name/key