Skip to content

/AWS1/CL_CNT=>UPDATERULE()

About UpdateRule

Updates a rule for the specified Amazon Connect instance.

Use the Rules Function language to code conditions for the rule.

Method Signature

IMPORTING

Required arguments:

IV_RULEID TYPE /AWS1/CNTRULEID /AWS1/CNTRULEID

A unique identifier for the rule.

IV_INSTANCEID TYPE /AWS1/CNTINSTANCEID /AWS1/CNTINSTANCEID

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

IV_NAME TYPE /AWS1/CNTRULENAME /AWS1/CNTRULENAME

The name of the rule. You can change the name only if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

IV_FUNCTION TYPE /AWS1/CNTRULEFUNCTION /AWS1/CNTRULEFUNCTION

The conditions of the rule.

IT_ACTIONS TYPE /AWS1/CL_CNTRULEACTION=>TT_RULEACTIONS TT_RULEACTIONS

A list of actions to be run when the rule is triggered.

IV_PUBLISHSTATUS TYPE /AWS1/CNTRULEPUBLISHSTATUS /AWS1/CNTRULEPUBLISHSTATUS

The publish status of the rule.