Whether you're looking at the Then cell of an If/Then rule, or the Action cells of a more complex Decision Table, Actions are what happen when the Conditions preceding them are true. Let's take a look at the Actions available in Sliderule
Every time a workflow runs, it returns an Outcome (
Investigate) as well as any optional Custom variables. By default, your workflow will return an
Approve outcome, unless an Action cell calls the
When you call
Investigate, the Workflow will stop executing immediately.
Investigate outcomes create Alerts that land in the Inbox tab for triage.
Any time you call
Investigate you'll need to provide a Reason String, to make it easier for other folks on your team to understand what's happening. For example:
Many workflows involve calculating variables, for example risk scores, risk tiers, or interest rates. You can simply type a new variable name and set it equal to a string, number, or boolean (true/false).
This variable will then be available under autocomplete to use in subsequent rules. You can even change the variable value in future rules, for example to increase a score set previously.
You can jump to other branches of a Workflow using a breakout rule.
You can create a new breakout rules by either dragging new logic blocks onto the graph below the default path, or by adding the
breakout keyword to the Then/Action cell of one of your rules
You can use the
and keyword to link multiple actions together. For example:
Finally, some users like to mark critical rules to form a list of flags that get returned in each Workflow response. We support this using the
If this rule goes off during an execution, you'd expect to see the name of this rule listed in an array of Flags returned by the Workflow.
Updated about 1 month ago