about us      downloads      documentation      contact      home 
 products
 antHR
 workflow studio
 technical toolkits
 content entry
 workflow
 security
 hierarchy
 concepts
 how tos
 reference
 FAQs

Concept: Segment definition

Defines a group of threads that run concurrently
Segment definitions divide a workflow definition into sections.

Unless you are using splits and combines to have multiple threads running at the same time then you will only have one segment definition in your workflow.

For more complex workflows, the segments are either:
  Single-threaded, or normal segments, that contain only one thread definition, or
  Multi-threaded, containing many threads that execute at the same time. Multi-threaded segments always begin with a Split action that starts all of the threads, and always finish with a Combine action that waits for a specified number of threads to reach it before continuing to the next segment.
Important: Only one segment instance may be active at a time within a workflow instance, and so when a segment is exited by a combine or by a transition from within the segment, all pending activities within the segment will be cancelled.

Segments are named to help describe their purpose.

See also: Segment instance, Workflow definition, Thread definition