There are a couple methods to accomplish this, both of which are summarized in our Knowledge Base. Take a look at these articles:
1. Using Boolean Signals to Replace IF Statements (
2. Using Conditions and the Splice Function to Replace IF Statements
If there's any additional information you can provide about your Use Case, we may be able to provide some more specific work steps. Let me know if you have any additional questions.