Empty Values

When developers want to skip certain form fields in workflows, Cyberdesk provides the __EMPTY__ sentinel value.

Simple Use Case

Problem: Sometimes workflows have optional form fields that should be skipped when no data is provided. Solution: Use __EMPTY__ to skip typing while maintaining workflow structure.

Example

# User provides username but no email
input_values = {"username": "john_doe", "email": "__EMPTY__"}

# Agent behavior:
type_text("john_doe")  # Types the username
type_text("__EMPTY__")  # Skips typing (no email provided)

When to Use

  • Optional form fields that might not always be filled
  • Progressive workflows where some data is provided later
  • A/B testing different workflow variants
  • Graceful degradation when inputs are missing

Best Practice

# ✅ Good: Simple optional step
type_text("__EMPTY__", conditional="input_values['optional_field'] == '__EMPTY__'")

# ❌ Avoid: Complex logic - split workflows instead
This is a simple convenience feature for handling occasional missing data - not for complex workflow logic.