Difference between revisions of "If"
From SDU
m |
m |
||
| Line 1: | Line 1: | ||
| + | __NOTOC__ | ||
| + | <div align='center'><font color="green">To make corrections or additions to this article, select the ''edit'' tab above.<br> | ||
| + | To discuss or ask questions about this article, select the ''discussion'' tab above.</font></div> | ||
| + | |||
| + | == Overview == | ||
An '''if statement''' refers to conditions that are used in [[spel code]] and javascript using the word if. The if statements are typically querying ticket or user information to determine the action that is to be taken. | An '''if statement''' refers to conditions that are used in [[spel code]] and javascript using the word if. The if statements are typically querying ticket or user information to determine the action that is to be taken. | ||
| Line 13: | Line 18: | ||
*Reference a UUID | *Reference a UUID | ||
(group == (uuid) "7D15BCD6D0B7E8468E58EA600E61F484" ) | (group == (uuid) "7D15BCD6D0B7E8468E58EA600E61F484" ) | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 06:18, 26 July 2008
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Overview
An if statement refers to conditions that are used in spel code and javascript using the word if. The if statements are typically querying ticket or user information to determine the action that is to be taken.
Examples
- Null
(is_null(anyfield))
- Not Null
(!is_null(anyfield))
- Combine multiple conditions
(is_null(anyfield1) && is_null(anyfield2))
- Reference a UUID
(group == (uuid) "7D15BCD6D0B7E8468E58EA600E61F484" )