Windows Workflow Foundation (Basics): How to handle external events and to trigger state transitions using a HandleExternalEvent activity

  MSDN’s description for a HandleExternalEvent reads as “Defines a workflow communication activity that is used to handle an event that is raised by a local service”. In this blog I will try to expand on that definition. Imagine a simple state machine representing a moving (state = Moving) or non-moving (state = Stopped) vehicle. For simplicity, let’s assume that the…

9