Skip to content

/AWS1/CL_SGM=>RENDERUITEMPLATE()

About RenderUiTemplate

Renders the UI template so that you can preview the worker's experience.

Method Signature

IMPORTING

Required arguments:

IO_TASK TYPE REF TO /AWS1/CL_SGMRENDERABLETASK /AWS1/CL_SGMRENDERABLETASK

A RenderableTask object containing a representative task to render.

IV_ROLEARN TYPE /AWS1/SGMROLEARN /AWS1/SGMROLEARN

The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.

Optional arguments:

IO_UITEMPLATE TYPE REF TO /AWS1/CL_SGMUITEMPLATE /AWS1/CL_SGMUITEMPLATE

A Template object containing the worker UI template to render.

IV_HUMANTASKUIARN TYPE /AWS1/SGMHUMANTASKUIARN /AWS1/SGMHUMANTASKUIARN

The HumanTaskUiArn of the worker UI that you want to render. Do not provide a HumanTaskUiArn if you use the UiTemplate parameter.

See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMRENDERUITMPLRSP /AWS1/CL_SGMRENDERUITMPLRSP