Workflow Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How to create a decision table and how to encapsulate the if-else with this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Buddy,
In Workflow studio a decision table is just a cleaner way to handle logic that you’d normally write as a bunch of if-else statements.
Instead of building multiple branches in the flow, you move that logic into a table and let the workflow ask the table what to do.
Basic steps on creating one:
Go to Decision Tables - Decision Builder.
Create a new decision.
Define the inputs what you’re evaluating — category, priority, environment, etc....
Define the outputs what you want back — assignment group, approval required, routing path.
Add rows for each rule.
Publish it.
Then in Workflow studio:
Add a “Make a decision” (decision table) step.
Pass in your inputs from the record/flow.
Use the returned value to drive the next action assignment, approval, routing, etc...
That replaces this kind of logic:
if category = Network - assign Network team
else if category = App - assign App team
else - assign Service Desk
The flow just calls the decision table and follows the result, instead of branching everywhere.
It keeps the workflow simpler and makes it easier to update rules later without editing the flow itself.
@RahulKing - If help you answer; Please mark Solution Accepted and Thumbs Up.

