Start component

:icons:font :hardbreaks: :imagesdir: ../../../assets/images :toc-title: Contents :toc:

Description

The component from which script execution or its separate branch begins.

Table 1. System characteristics

Index

101

Short name

start

Script types

All

Start module

r_script_component_start

Mode

Synchronous

Icon

101

Branching type

Non-branching

Properties

Table 2. Properties
Specification Description

Name: Start type Code: type Visibility condition: no Default: Start

Script start type. Possible values:

  • Start — main script execution mode. Code: default. Id: 0.

  • Post-processing — script execution mode when the main branch completes for one of the possible reasons. Code: stopping. Id: 1.

Name: Launch parameter Code: startParam Visibility condition: yes Default: empty

Field for specifying the variable into which the value of the first launch parameter startparam1 will be written.

Name: Initialize variables Code: defineVars Visibility condition: yes; Default: Yes

Switch to set all script variables to the default values of the corresponding type.

Name: Transition variant Code: transitionOption Order: 3 Visibility condition: yes; Default: All

Reason for completion of the main script execution branch, on occurrence of which the chain of components following the current START component will be executed within post-processing. Possible values:

  • All (all, 0) — any reason for script completion.

  • Normal completion (normal, 1) — the script was completed by components without transition branches (Stop, Transfers, etc.).

  • No transition branch (transfer_not_set, 2) — the required transition property is not set for a component of the main script branch.

  • External call stop (stop, 3) — the call is completed. Including: the subscriber hung up, the conversation was stopped via the API, or by timeout, except replacements and transfers.

  • Timeout (timeout, 4) — not used.

  • Component error (error, 5) — critical component execution error.

  • Owner disconnect (ownerdown, 6) — sudden termination of the associated owner process (call dialog FSM for the IVR script).

  • Component count limit (maxcount, 7) — reaching the limit on the number of executed components set for the domain.

  • Execution time limit (maxduration, 8) — reaching the script execution time limit set for the domain.

Name: Total script execution time Code: implementedTime Visibility condition: yes; Default: 60000

Limit on script execution within the post-processing branch, in milliseconds. After expiry the script is forcibly terminated.

Name: Transition Code: transfer Visibility condition: — Default: empty

Component to which control is transferred.

See also