End Activity

Purpose: A milestone activity that marks the end of a flowchart, causing the flowchart to complete. The End activity serves as the termination point for workflow execution.

Input Properties

This activity has no input properties. It is a simple marker activity that indicates the end of a workflow flowchart.

Output Properties

This activity has no output properties. When reached, it causes the flowchart to complete.

Usage Example

Scenario: Create a simple workflow that processes data and ends

Workflow Structure:
1. Start Activity - Marks the beginning
2. WriteLine Activity - Logs "Processing..."
3. SetVariable Activity - Sets a result variable
4. End Activity - Marks the end and completes the workflow

Configuration:
- No configuration needed for the End activity
- Connect the last activity in your workflow to the End activity

Result:
- When the End activity is reached, the flowchart completes
- All workflow execution stops
- The workflow instance is marked as completed

Important Notes

  • The End activity is terminal - it causes the flowchart to complete
  • You can have multiple End activities in a flowchart for different completion paths
  • When an End activity is reached, all pending work in the flowchart is completed
  • This activity implements the ITerminalNode interface, marking it as a valid termination point
  • In flowchart-based workflows, End activities are typically placed at the end of execution paths
  • All execution paths should eventually reach an End activity (or another terminal activity)

Related Activities