"When value has Changed" event works on auto changes too?

I have a checkbox that becomes checked/Unchecked based on a condition, and i want to change a custom state’s value when the checkbox value is changed.

Can i use the “When value has Changed” event to change state when value of checkbox changes, even automatically, or that works only for value-changes done by the user manually?