Skip to content

Overview

Concepts and Principles

Development

Overview

IDEs

API Explorer

Releases

Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports

Search

Using Flux

Introduction

Flux is TORO Integrate's very own workflow engine. The examples package contains some sample Flux services to demonstrate its features such as error-handling, data-processing, waiting on an event, triggering other workflows, and others.

Related articles

Please see the following articles for more information:

Try It!

Under the Coder Navigator, expand the examples package entry and navigate to the code folder. Afterwards, look for the flux package. This package contains the following files and directories, shown below:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
examples
├── ...
└── code
    └── flux
        ├── ErrorHandling.flux
        ├── FluxWithTag.flux
        ├── FluxWithTrigger.flux
        ├── Polling.flux
        ├── ProcessData.flux
        ├── ProcessExternalEvent.flux
        ├── WaitingUntilDate.flux
        ├── model
        │   ├── Order.model
        │   └── Product.model
        └── services
            └── CheckProductAvailability.gloop

The following table describes each of the services available:

Service Name Description
ErrorHandling.flux Demonstrates error handling in Flux.
FluxWithTag.flux Demonstrates the usage of tags.
FluxWithTrigger.flux Demonstrates how to use triggers.
Polling.flux Demonstrates how to use a loop back transition and wait expression with a duration.
ProcessData.flux Demonstrates how to pass data from one state to another.
ProcessExternalEvent.flux Demonstrates how to wait for an event and process it.
WaitingUntilDate.flux Demonstrates how to use wait expression with date.

Simply open to inspect or run any of these services to see how they work. Comments are provided to help explain the components of each service and why things are wired the way they are.