FIX in boolean expression and value sent.
Now the document status is updated. (Not automatically)