Genpact Cora Knowledge Center

Support

Evaluation Control Methods

Overview

Returns the default value parameter when the method parameter expression throws an exception.

Return Type Value

  • Depends on use.

Example

  • Returns zero: Try(1/0)
  • Returns Form Activity txt1 field value (if the row exists), or null: Try({Form1}.Query(“DataTable1”)[“txt1”])

Supported Method Types

  • Try
  • TryeElse