Difference between revisions of "If"

From SDU
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<div align='center'><font color="green">To make corrections or additions to this article, select the ''edit'' tab above.<br>
+
{{Global Header}}
To discuss or ask questions about this article, select the ''discussion'' tab above.</font></div>
+
{{Global Announcement}}
  
 
== Overview ==
 
== Overview ==

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