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 InstanceId 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, InstanceIds no subscriber: 404 Deploy + start Wait Deliver Client app · curl / your service · Sequence participant Client app curl / your service Fleans API · /Workflow endpoints · Sequence participant Fleans API /Workflow endpoints Instance · WorkflowInstance · Sequence participant Instance WorkflowInstance Correlation · one per name/key · Sequence participant Correlation one per name/key