Workflows are how decisions are made in Sliderule. Each workflow begins with an Input and ends with an Output. You can drag and drop Logic Blocks into your Workflow, to build all sorts of decision logic - these blocks can include Rulesets, Data Connectors, Transforms, and more
Each Workflow expects a series of data fields in its Input. These fields can be accessed in your rules, to make decisions and calculations in your Workflows.
For each workflow, you Input will have an object name (e.g.
transaction) as well as a list of fields associated with that object (e.g.
You can customize the fields for your Workflow by clicking on the Input block. Or you can simply pass new fields to the Input block via API.
Every time your WorkflowWorkflow - A complete flow of decision logic from Input to Output. Returns a Result (Approve, Reject, Investigate) and Custom Variables (e.g. risk score) for each Execution of the Workflow runs, it will return:
- Result (
- Custom Variables (optional) such as
You can adjust which Custom Variables you actually want to return by flipping the toggles in the Output block.
In addition to the data fields passed into the Workflow's Input, you can connect your Workflow to additional data sources. Each time your Workflow runs, it can then call out to these data sources, and pull back additional fields to use in your rules.
- API Connectors - for calling external data vendors, or internal services at your company
- Database Connectors - for querying SQL-style databases, and pulling back specific columns as fields
- GRPC Connectors - for fast connectivity in our Enterprise deployments
You can create and manage the credentials used for each data connection on the Credentials page.
As your Workflow runs, it will execute each Logic Block in order along the Default Path from left (Input) to right (Output). For more complex flows, you can use Breakout Paths (noted with dashed lines from the bottom of a block) – alternative paths to follow when certain conditions are met.
You can create a Breakout Path by dragging a new block under an existing Ruleset until the drop zone appears, or by calling
breakout <span style="color:green;">‘Ruleset #2’</span> inside one of your existing rules.
Updated about 1 month ago