Capture/Route Processing

The capture/route processing block reads a message off the queue, then transforms it into an event. This event is written to the Event Data table. It then determines which business processes have subscribed to the event and of those, which have keys that match the event. If there are no processes with matching keys, a new process instance is created. An event can be routed to more than one process. For each process, the event is sent to a route record that is created and written to the route table. This record includes the EID (unique EventId) and the PID (unique ProcessID). If a new process instance was created, its initial state is written to the Process Data table.