Hi, Im working in ‘If else conditional ceheck’ and i wrote an expression like if $currentObject/TaskStatus = 'Success' then 'status-success' else if $currentObject/TaskStatus = 'Inprogress' then 'status-inprogress' else if $currentObject/TaskStatus = 'Pending' then 'status-pending' else ‘some string’ ButI got an error like this when im cleared with the quotes then i got an error like
Giby Mary Babu
You have the wrong style of quote marks at the end the statement. It should be
else 'some string'
Did you use the correct characters to start and end your string? They look different than the others.
As Andreas says, it looks like $currentObject/TaskStatus is an enumeration, not a string. Try comparing it to M00_BASE_CASEStatus values.