Hi,
I hope this is the correct place to ask this, but I had a question on why an expression is not evaluating in one of my flowable apps. I have the following that are supposed to evaluate on a page:
${io_reviewer_decision == ‘Accept’ ? 1 : io_reviewer_decision == ‘Revise’ ? 2 : 3}
${io_reviewer_decision == ‘Accept’ ? 0 : io_reviewer_decision == ‘Revise’ ? 2 : 3}
On the test page the value of io_reviewer_decision is ‘Accept’. The one where it is supposed to return the int 1 renders fine, however when returning int 0 it just returns the entire expression so the page renders as:
1
${io_reviewer_decision == ‘Accept’ ? 0 : io_reviewer_decision == ‘Revise’ ? 2 : 3}
Is there any reason it would be having issues with the 0 in the expression (using flowable 6.5, but was occurring in 6.4 as well)?
Any help or insight would be appreciated,
Thanks