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
asked
Giby Mary Babu
3 answers
3
You have the wrong style of quote marks at the end the statement. It should be
else 'some string'
answered
Robert Price
3
Did you use the correct characters to start and end your string? They look different than the others.
answered
Andreas Blaesius
3
As Andreas says, it looks like $currentObject/TaskStatus is an enumeration, not a string. Try comparing it to M00_BASE_CASEStatus values.