Request to product layer

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

Description

Executes one of the predefined queries to the product layer.

Executed through the component 'Call a microservice', providing it with specific parameters.

The domain requires the product layer to be installed.

Allows:
* check one of the schedules.

Table 1. System characteristics

Index

157

Short name

prodlayer

Script types

All

Start module

era_script_component_prodlayer

Mode

Asynchronous

Icon

157

Branching type

Branching, closing

Properties

Table 2. Properties
Specification Description

Name: Method

Code: method

Visibility condition: no

Default: — 

Defines the method (request type).

Possible values:

  • Check schedule (timetable,0) - Checks whether the current or specified time falls within the selected schedule. Returns "true", "false" or an empty string.

Name: Schedule

Code: timetableIdx

Visibility condition: yes

Default: — 

Code or identifier of an existing schedule (collection 'platform/timetable/TimeTables').

Name: Date/Time Code: ttDatetime Visibility condition: yes

Default: — 

An argument containing the date-time of interest. This can be a numeric timestamp, or a date in one of the formats used in the platform.

If the argument is not specified, or is specified incorrectly, the current date-time is used.

Name: Timeout, sec

Code: timeoutSec

Visibility condition: no Default: 5

Argument defining the request execution timeout.

After the timeout expires, the script transfers control via the 'Transition, timeout' branch, and the request to GPT can continue to be executed.

Name: Result into variable

Code: resultVar

Visibility condition: no

Default: — 

Variable where the result of the query is saved.

Name: Error in variable

Code: errorVar

Visibility condition: no

Default: — 

Variable where the string with the error code and text is saved.

Some expanded errors are saved to the log.

Name: Transition Code: transfer Visibility condition: no

Default: — 

Component to which control is transferred.

Name: Transition, time

Code: transferTimeout

Visibility condition: no

Default: — 

The component to which control is transferred in case of a timeout.

Name: Transition, error

Code: transferError

Visibility condition: no

Default: — 

Component to which control is transferred in case of an error.