Open topic with navigation

# getTranscript

The `getTranscript` method gets an enumerated table of history stage objects, which record the user input and Answer Server responses for the current conversation session.

## Syntax

    getTranscript()

## Returns

(table) An enumerated table of history stage objects. Each stage contains the user text and Answer Server response prompt for that stage of the conversation.

NOTE:

If you start a conversation session by sending a Converse action with no user text, the response for the first history stage returns `nil` for the user text.

## Example

    local history = taskUtils:getTranscript()

## Methods

The history stage objects that `getTranscript` returns have additional methods, to allow you to inspect the response table.

You can access a history stage object, and call its methods by using the '`:`' operator. For example:

    local first = history[1]
    local usersaid = first:userInput()

Method | Description
--- | ---
userInput | Returns the input text that the user supplied at a particular stage of the conversation.
responsePrompts | returns the table of prompts that were returned by the system at a particular stage of the conversation.

© 2016-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm