Boolean
The Boolean package provides essential logical operations for RPA flows, enabling developers to work with boolean values, perform logical operations (AND, OR, XOR, NAND, NOR, Equal), and convert boolean values to strings.
Overview
Boolean operations are fundamental to creating dynamic automation flows that make decisions based on conditions. This package offers nodes for:
- Assigning boolean values to variables with different scopes
- Performing logical operations on multiple boolean values
- Converting boolean values to string representations
These operations are essential for:
- Conditional flow control
- Decision-making in automation workflows
- Data validation and verification
- Combining multiple conditions
- Converting boolean results for reporting or display
Available Nodes
📄️ Assign
Robomotion.Boolean.Assign
📄️ Operation
Robomotion.Boolean.Operation
📄️ To String
Robomotion.Boolean.ToString
Use Cases
Conditional Automation
Combine multiple conditions to determine whether to execute specific actions. For example, checking if a file exists AND has the correct size before processing it.
Data Validation
Use boolean operations to validate data against multiple criteria. For instance, checking if a value is within range AND matches a specific pattern.
Flow Control
Make decisions in your RPA flows based on the results of logical operations. For example, proceeding only if all prerequisite conditions are met.
Status Reporting
Convert boolean values to strings for logging, notifications, or reporting purposes, making automation results more readable.
Best Practices
- Use meaningful variable names when assigning boolean values to make your flow logic clear
- Leverage different scopes (Local, Flow, Global, Message) based on where the boolean value needs to be accessed
- Combine operations strategically to create complex conditional logic
- Document your logic when using multiple boolean operations to ensure maintainability
- Handle edge cases by considering all possible boolean combinations in your flow
Thread Safety
The Boolean package includes thread-safe operations for Global and Flow scoped variables, ensuring reliable behavior in concurrent automation scenarios.