If

From SDU
Jump to: navigation, search
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" )