Skip to content

Workflow Mechanics#

These tutorials teach how a Connect IoT workflow behaves at run time: when a task runs, which values it reads, how a branch decides, how time and state are kept, and how a workflow talks to MES. Each one builds a small workflow and checks the result in the controller log.

Complete Connect IoT - Basic Configuration Tutorial first. For where these tutorials fit among the others, see Connect IoT - Learning Path.

  1. Connect IoT - How Values Travel Tutorial - activation, the values a task keeps between runs, and the difference between null and undefined in Data Flow.
  2. Connect IoT - Control Flow in Depth Tutorial - branches, conditions, loops, error handling, functions, and subworkflows in Control Flow.
  3. Connect IoT - Timing and State Tutorial - timers, cron jobs, waits, deadlines, stored values, and per-item queues.
  4. Connect IoT - Talking to MES Tutorial - service calls, actions, requests and replies between MES and the workflow, and notifications.
  5. Connect IoT - Writing a Code Task Tutorial - when a Code task is the right tool, how to write it, and how to test it.