BranchBehavior
BranchBehavior
Utility behavior that works just like an IF/ELSE statement If you are not sure if this is the right behavior for your use-case, consider using a selector behavior instead, as selector is a more commonly applicable behavior type
Kind: global class
Author: Alex Goldring
Copyright: Company Named Limited (c) 2025
BranchBehavior.from(condition, [branch_success], [branch_failure])
Kind: static method of BranchBehavior
| Param | Type |
|---|---|
| condition | Behavior |
| [branch_success] | Behavior |
| [branch_failure] | Behavior |