new ArchSettingsNluIntent(coreIntentSettingsViewModel)
Parameters:
| Name | Type | Description |
|---|---|---|
coreIntentSettingsViewModel |
object | ( Internal ) a core intent settings view model |
Extends
Members
-
static, readonly displayTypeName :string
-
Returns the display type name string 'ArchSettingsNluIntent'.
-
readonly associatedTask :ArchTask
-
Returns the
ArchTaskthat is associated with thisArchSettingsNluIntent. If one is not associated with this intent or a task is not found, undefined is returned. -
associateWithTask :void
-
Associates the given reusable task with the current
ArchSettingsNluIntent. When you associate an intent with a task with input values in a digital flow, and the task is invoked, the runtime will not supply any values for them so any input variables will pick up their default values. -
readonly confirmation :ArchValueCommunication
-
Wording the bot will use when confirming this is the desired intent of the participant. The participant is expected to reply with a yes or no answer.
-
readonly isArchSettingsNluIntent :boolean
-
Returns true indicating that this is an ArchSettingsNluIntent instance.
-
readonly logStr :string
-
A string suitable for logging that contains information about this ArchSettingsNluIntent.
- Overrides:
-
readonly logStrTypeOnly :string
-
This is a string suitable for logging information about this object where it's just the object's type. This is normally used when logging errors that occur in constructor parameter checking because the scripting object isn't set up and the normal logging str contents wouldn't be set up.
- Overrides:
-
parentFlow :ArchFlowBot|ArchFlowDigitalBot
-
The parent
ArchFlowBotorArchFlowDigitalBotthat thisArchSettingsNluIntentbelongs to.
Methods
-
isFilterMatch(archFilterObject) → {boolean}
-
Returns whether or not this Architect Scripting object is a match for the supplied ArchFilterObject instance.
Parameters:
Name Type Description archFilterObjectArchFilterObject the object filter to use to determine if it's a match.
Returns:
boolean- Overrides:
-
logError(errorStr)
-
Logs an error to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logErrorsis true.Parameters:
Name Type Description errorStrstring the error string to log.
- Overrides:
-
logErrorAndThrow(errorStr)
-
Logs an error to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logErrorsis true and then throws the string in the errorStr parameter.Parameters:
Name Type Description errorStrstring the error string to log. This should be a non-blank string.
Throws:
- Throws the submitted error string.
- Overrides:
-
logNote(noteStr)
-
Logs a note to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logNotesis true.Parameters:
Name Type Description noteStrstring the note string to log. This should be a non-blank string.
- Overrides:
-
logNoteVerbose(noteStr)
-
Logs a note to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logNotesVerboseis true.Parameters:
Name Type Description noteStrstring the note string to log. This should be a non-blank string.
- Overrides:
-
logWarning(warningStr)
-
Logs a warning to the logging service with a log header from this object's
logStrproperty value whenArchLogging#logWarningsis true.Parameters:
Name Type Description warningStrstring the warning string to log. This should be a non-blank string.
- Overrides: