TSL IF ELSEIF statementThe IF ELSEIF statement enables you to selectively perform tasks within your TSL message, based on some criteria, which evaluate to TRUE or FALSE. When TRUE executes the task specified in the IF part of the statement, the task specified in the ELSEIF part of the statement is only executed when the specified criteria are met. Syntax
Inputs
Example Suppose you want to create a welcoming message after a user has logged in to your application. Then you could create the following TSL message:
When user John Doe logged on at 8 o’clock am, the message shown in your application is: “Good morning John Doe” When user John Doe logged on at 7 o’clock pm, the message shown in your application is: “Good evening John Doe”
|