For more information, please refer to this announcement explaining best practices for getting answers to questions.
Help with EL Expression to change text conditionally
Summary:
We are trying to change the text for the certification type within the pending actions are conditionally based on the certification type which is being used
Content (required):
Currently within page composer I have edited the component "commandlink" for text and written the following EL expression
#{pendItemDetails.CompleteMessage eq 'Domestic partner affidavit' || pendItemDetails.CompleteMessage eq 'Partner good health'}
This results in the text changing to "True". Instead of it displaying as true we would like to be able to specify the text we want to display.
I have tried using IF/THEN/ELSE logic but it has been erroring out. I have been using ? : commands to try and do this. I have added some screenshots before the EL expression and after the EL expression is applied.