Difference between revisions of "If"

From SDU
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
{{Global Header}}
 +
{{Global Announcement}}
 +
 +
== 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" )
 
 
 
 
 
----
 
<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>
 

Latest revision as of 01:05, 27 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.

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" )