API Flow Examples
These flows can be viewed from Saga screen in Devops app, grouped under training domain
Last updated
These flows can be viewed from Saga screen in Devops app, grouped under training domain
Last updated
This is the simplest API flow, connecting start step to a success step, returning request contents back as a response.
Another simple example, returning "Hello World" as a message in output with a transform step.
This is a API flow redirect example, using train_hello saga without providing any flow of its own.
This example includes conditional logic with step link configurations and both success & fail steps.
Using a local read event handler, this example returns a record from the 'dummy' state manager by id.
Using a local write event handler, this example writes a given record to the 'dummy' state manager.
Using a local query event handler and a query named "Dummy Search", this example returns a list of records filtered by their name.
The query is accessible from Query screen of Configuration application.
Using a local rest event handler and a system definition, this example makes a GET request to a remote system.
Similar to train_rest, this example makes a GET request to a remote system, but transforming input and output using patterns in event metadata parameters.
Example for encrypting a given value and decrypting it back with a pre-configured key.
Executes a custom Groovy script which replicates the parameters provided in input as output.
The script itself is configured using the code editor accessible in Configuration application.
Renders a Handlebars template for provided name, surname parameters.
The template itself is configured using the code editor accessible in Configuration application.
Allows real-time compilation and execution of Java event handlers for testing and development purposes.
The class itself is configured using the code editor accessible in Configuration application.
Allows evaluation of a set of rules for the given input and outputs the decided value.
The rule list for calculation is configured using the rule records accessible in Train application.