forcase

Executes somecstuff for case with specified caseid

Syntax

forcase("caseid")

Function arguments

  • caseid – (String) Id of the case to run code on, ex. value of the reference field.

Return value

This function does not return a value.

Examples

Example 1: Execute some code on case specified in Order reference field

forcase([Order]){
  doSomething(); 
}