Workflows allow you to define a sequence of tasks which will make up the functionality of your solution. Workflows can be added to a menu in your user interface or they can be called by other workflows.
 

There is no imperative programming in ORIGAM. All functionality flows are defined by sequential workflows. Some of the functionality can be also defined by XSLT Transformations.

Tasks can be grouped to blocks for either enclosing them to transactions or for making loops.

Every sequential workflow contains one or more Contexts and one or more Tasks.

Usage

Sequential workflows can be invoked by

Child Elements

Context StoreProvides a storage for data (or message) between the steps in the workflow. Can be also thought of as a complex variable, defined by a data structure.
BlockA Block is a step, which contains other steps (tasks, blocks).
TaskA Task is unit of work in the workflow. The sequence of the workflow is made of tasks or blocks. Tasks make use of the data stored in context stores defined for this workflow.

MODEL STRUCTURE

Sequential Workflows
 Sequential Workflow
  Context Store
  (Block) For-each
   Context Store
   Dependency
   (Block) For-each
   

(Block) Loop

   (Block) Transaction
   (Task) Check Rule
   (Task) Service Method Call
   (Task) Set Workflow Property
   (Task) Update context by Xpath
   (Task) User Interface
   (Task) Wait
   (Task) Workflow Call
  (Block) Loop
   Context Store
   Dependency
   (Block) For-each
   (Block) Loop
   (Block) Transaction
   (Task) Check Rule
   (Task) Service Method Call
   (Task) Set Workflow Property
   (Task) Update context by Xpath
   (Task) User Interface
   (Task) Wait
   (Task) Workflow Call
  (Block) Transaction
   Context Store
   Dependency
   (Block) For-each
   (Block) Loop
   (Block) Transaction
   (Task) Check Rule
   (Task) Service Method Call
   (Task) Set Workflow Property
   (Task) Update context by Xpath
   (Task) User Interface
   (Task) Wait
   (Task) Workflow Call
  (Task) Check Rule
   Dependency
  (Task) Service Method Call
   Dependency
   Parameter
    Data Structure Reference
  (Task) Set Workflow Property
   Dependency
  (Task) Update context by Xpath
   Dependency
  (Task) User Interface
   Dependency
   Context Store Reference
   Data Constant Reference
   System Function Call
  (Task) Wait
   Dependency
  (Task) Workflow Call
   Context Mapping
   Dependency