examples
package: Using Flux
Event Based Workflow is Martini's very own workflow engine. The
examples
package contains sample Event Based Workflow to demonstrate its features such
as error-handling, data-processing, waiting for an event, triggering other workflows, and others.
Related articles
Please see the following articles for more information:
Try it!
In the Navigator, expand the examples
package and navigate to the
code
folder, then expand the flux
package. This package contains
the following files and directories, as shown below:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
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 expressions with dates. |
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.