Skip to content

/AWS1/CL_CNT=>LISTTASKTEMPLATES()

About ListTaskTemplates

Lists task templates for 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.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/CNTNEXTTOKEN /AWS1/CNTNEXTTOKEN

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

It is not expected that you set this because the value returned in the previous response is always null.

IV_MAXRESULTS TYPE /AWS1/CNTMAXRESULT100 /AWS1/CNTMAXRESULT100

The maximum number of results to return per page.

It is not expected that you set this.

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

The name of the task template.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CNTLISTTASKTMPLSRSP /AWS1/CL_CNTLISTTASKTMPLSRSP