Skip to content

/AWS1/CL_CNKREQUIREDCASERULE

Required rule type, used to indicate whether a field is required. In the Amazon Connect admin website, case rules are known as case field conditions. For more information about case field conditions, see Add case field conditions to a case template.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_defaultvalue TYPE /AWS1/CNKBOOLEAN /AWS1/CNKBOOLEAN

The value of the rule (that is, whether the field is required) should none of the conditions evaluate to true.

it_conditions TYPE /AWS1/CL_CNKBOOLEANCONDITION=>TT_BOOLEANCONDITIONLIST TT_BOOLEANCONDITIONLIST

List of conditions for the required rule; the first condition to evaluate to true dictates the value of the rule.


Queryable Attributes

defaultValue

The value of the rule (that is, whether the field is required) should none of the conditions evaluate to true.

Accessible with the following methods

Method Description
GET_DEFAULTVALUE() Getter for DEFAULTVALUE, with configurable default
ASK_DEFAULTVALUE() Getter for DEFAULTVALUE w/ exceptions if field has no value
HAS_DEFAULTVALUE() Determine if DEFAULTVALUE has a value

conditions

List of conditions for the required rule; the first condition to evaluate to true dictates the value of the rule.

Accessible with the following methods

Method Description
GET_CONDITIONS() Getter for CONDITIONS, with configurable default
ASK_CONDITIONS() Getter for CONDITIONS w/ exceptions if field has no value
HAS_CONDITIONS() Determine if CONDITIONS has a value