# Why is my condition failing?

**URL:** <https://discuss.workflowgen.com/t/why-is-my-condition-failing/366>\
**Category:** Process Design\
**Created:** [November 5, 2007, 9:50am UTC](https://discuss.workflowgen.com/t/why-is-my-condition-failing/366 "2007-11-05T09:50:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [November 5, 2007, 9:50am UTC](https://discuss.workflowgen.com/t/why-is-my-condition-failing/366/1 "2007-11-05T09:50:30Z")

</div>

### Issue

Why is my `<APPROVE>="Yes"` checkbox condition failing?

### Cause

WorkflowGen is case sensitive. When creating a condition, ensure that your WorkflowGen condition values match your form element values in both case and spelling.

### Examples of condition statements

#### Condition based on the value of a selected radio button:

`<APPROVE>=YES`

#### Condition based on the value of a selected checkbox:

`<APPROVE>=True` (optimized: `<APPROVE>`)

`<APPROVE>=False` (optimized: `NOT <APPROVE>`)
