How to write expression in SpinnerWebFormFieldData.xls?

I am trying to force users to fill in two attributes when document is not in Create or Assign states. So I wrote

| current !=Active && current !=Assign | on | Required | part on Setting names and Values columns of SpinnerWebFormFieldData.xls but user can still promote without filling these two fields after deploying. Is there a syntax error? Is there a guide on how to write expressions in spinner files?