Hi Everyone,
How can i write an if condition using expressions? I actually want to show some variable values in the documentation of the user task if a boolean is true.
Please advice.
Thank you
The standard expression language used in Activiti is JUEL (Unified Expression Language - The Java EE 5 Tutorial ).
As far as I know, JUEL supports ternary (conditional) operators.
e.g. ${failed ? 1 : 2}
If process variable failed == true the expressions returns 1, otherwise 2.
Cheers,
Greg
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.