Creating a Sequential Workflow Outside of a Flowchart


In the .NET Framework 4, developers typically choose between two different styles of Workflow by choosing different outermost Activities. Those Activities are:

  • Sequence: Executes Activities in sequence, one after another. The Sequence can contain if Activities, while Activities, and other kinds of control flow. It’s not possible to go backwards, however, execution must always move forward
  • Flowchart: Executes Activities one after another, like a Sequence, but also allows control to return to an earlier step. This more flexible approach, new in the .NET Framework 4 release of WF, is closer both to how real processes work and to the way most of us think

When creating a JAMS Workflow Job a Sequence of Activities can be created using either the Flowchart or Sequence Activity. The Sequence Activity belongs to the Control Flow Activity Group and enables various activities to be dragged-and-dropped onto the Visual Workflow Designer, as seen below:

A sequence can host any Activity including Flowcharts and decision structures. The Sequence Activity is beneficial because it provides a more condensed view of a series of Activities than a Flowchart.

Have more questions? Submit a request