I have the following custom EL expression in a user Action:
${layoutValue.currentLifeCycleState != 'SupRequest1' && layoutValue.currentLifeCycleState != 'SupRequest2' && layoutValue.currentLifeCycleState != 'Pause'}
I have two documents one in the SupRequest1 state and one in the Start state.
The button associated with this user action is enabled in both documents. Expected result is: Button is missing from document in SupRequest1 state and present in document in Start state.
Am I missing a logic error?
Will the above expression be completely parsed by Nuxeo?
BTW a compound boolean expression in another user action with only two clauses seems to work correctly!
Also if I use parentheses, to enclose each clause, in the expression the Nuxeo parser get very upset and cannot find the first && (AND) operator.
See Entry entitled: User Action: Current document has life cycle ......NOT!? as a reference.