Filters on edges allow you to control the flow of your processes by adding conditional logic between modules. This ensures your workflows are dynamic and execute only when specific conditions are met.
🚦 How to Create a Filter on an Edge#
1.
Click the filter icon on any edge between modules to open the filter setup. 
2.
Start by writing a short description to document the purpose of the filter.
Clear descriptions make debugging and collaboration easier.
3.
Define conditions using basic logic blocks. For example:Operator: Choose between options like Equals, Not Equals, Greater Than, etc.
Values: Use $
to access dynamic variables and helpers.
Combine multiple conditions with AND or OR for more complex logic.

🔧 Understanding Filter Modes#
Before saving your filter, you need to select a filter type. This determines how the workflow handles scenarios where the condition isn’t met:Break: Stops the execution of the flow entirely for this path if the condition fails.
Skip: Skips the current module, but allows the flow to continue along other edges if present.
🌟 Best Practices for Filters#
Plan Ahead: Clearly understand the data and conditions you need to evaluate.
Test Thoroughly: Debug your filters by triggering the workflow and analyzing execution paths.
Use Break Judiciously: Only stop the flow if it’s absolutely necessary to avoid unintended outcomes.
Filters and edges empower you to build precise, adaptable workflows tailored to your needs. Start experimenting with conditions to see the full power of Altan workflows!
Modified at 2024-11-28 19:52:12