Tech Resources
Branching Conditions in WR Hub Workflows
Manage Custom Workflows in Application Automations
To streamline your application automations, follow these steps to set up conditions and branches effectively. This guide helps you adjust workflows for applications based on specific URL conditions.
Configuring Conditional Branches:
- Identify Conditions:
- Determine if the application URL slug contains or does not contain specific terms.
- Use OR conditions to include multiple possible URL contents.
- Set Up Branch Logic:
- Initially set branches to check multiple conditions using OR.
- Avoid combining contains and does not contain in the same condition with AND, as this complicates the logic.
- Adjust Branch Conditions:
- If a condition fails because it’s too restrictive (e.g., AND combining opposite checks), modify it.
- Remove the restrictive condition (e.g., does not contain).
- Add a segment to refine the branch logic under the same main condition.
- Anchor and Reflect Conditions:
- Maintain the original OR condition but add segments that reflect additional requirements.
- Ensure the branch reflects both conditions: if it contains specific terms and meets additional segment requirements.
- Finalize and Test:
- Once conditions are adjusted, apply them to the branch.
- Test the workflow to ensure the branch proceeds correctly when conditions are met or shows false when not met, moving to the next potential branch if necessary.
This approach simplifies managing conditional workflows by ensuring conditions are clear and logically structured.