Skip to content

/AWS1/CL_CNT=>CREATETASKTEMPLATE()

About CreateTaskTemplate

Creates a new task template in the specified Amazon Connect instance.

Method Signature

IMPORTING

Required arguments:

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/CNTTASKTEMPLATENAME /AWS1/CNTTASKTEMPLATENAME

The name of the task template.

IT_FIELDS TYPE /AWS1/CL_CNTTASKTEMPLATEFIELD=>TT_TASKTEMPLATEFIELDS TT_TASKTEMPLATEFIELDS

Fields that are part of the template.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/CNTTASKTEMPLATEDESC /AWS1/CNTTASKTEMPLATEDESC

The description of the task template.

IV_CONTACTFLOWID TYPE /AWS1/CNTCONTACTFLOWID /AWS1/CNTCONTACTFLOWID

The identifier of the flow that runs by default when a task is created by referencing this template.

IO_CONSTRAINTS TYPE REF TO /AWS1/CL_CNTTASKTMPLCNSTRNTS /AWS1/CL_CNTTASKTMPLCNSTRNTS

Constraints that are applicable to the fields listed.

IO_DEFAULTS TYPE REF TO /AWS1/CL_CNTTASKTMPLDEFAULTS /AWS1/CL_CNTTASKTMPLDEFAULTS

The default values for fields when a task is created by referencing this template.

IV_STATUS TYPE /AWS1/CNTTASKTEMPLATESTATUS /AWS1/CNTTASKTEMPLATESTATUS

Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only be created from ACTIVE templates. If a template is marked as INACTIVE, then a task that refers to this template cannot be created.

IV_CLIENTTOKEN TYPE /AWS1/CNTCLIENTTOKEN /AWS1/CNTCLIENTTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CNTCREATETASKTMPLRSP /AWS1/CL_CNTCREATETASKTMPLRSP