How project-flogo/flow works
Flogo Flow is a process-flow engine: a flow definition describes linked tasks and activities, and a runtime action loads the definition, executes an instance, and returns its result. The graph also includes the documented subflow capability and REST flow tester. Source excerpts establish the main action, definition-loading, task-evaluation, and transactional-subflow links; some runtime and tester details are unsampled, so their connections are omitted where not evidenced.
Main entry points: ind_instance.go Flow instance · action.go Flow action · manager.go Flow manager · taskbehavior.go Task behavior
Components 17
Entry points
- Flow action
action.go - REST tester
tester/service.go - Tester requests
tester/request.go
Flow definition
- Flow manager
support/manager.go - Flow provider
definition/provider.go - Definition model
definition/definition.go - Definition parser
definition/definition_ser.go
Execution runtime
- Behavior model
model/model.go - Flow instance
instance/ind_instance.go - Task behavior
model/simple/taskbehavior.go - Task instances
instance/taskinst.go - State recording
state/recorder.go
Activities and tools
- Subflow activity
activity/subflow/activity.go - Transactional subflow
activity/subflow/tx.go
Other components
- Flow caller
- Remote flow source
- Flogo activities
Connections 15
- Flow caller → Flow action: invokes
- Flow action → Flow manager: loads flow
action.go - Flow manager → Flow provider: requests definition
support/manager.go - Flow provider → Remote flow source: fetches flow
- Flow manager → Definition parser: materializes
support/manager.go - Definition parser → Definition model: constructs
definition/definition_ser.go - Flow action → Flow instance: starts instance
action.go - Flow instance → Behavior model: selects behavior
instance/ind_instance.go - Flow instance → Task behavior: evaluates tasks
instance/ind_instance.go - Task behavior → Task instances: evaluates task
model/simple/taskbehavior.go - REST tester → Tester requests: decodes requests
tester/service.go - REST tester → Flow instance: starts or resumes
tester/service.go - Task behavior → Flogo activities: evaluates activity
- Transactional subflow → Flow instance: starts subflow
activity/subflow/tx.go - Subflow activity → Transactional subflow: delegates transaction