Product layer microservice call
Description
Performs a request for the specified method of the specified microservice in the product layer of the current domain. It is called using the collection platform/services/Invocations.
Passes as input either an object with variable values, an object with the specified named arguments, or the parameter specified by the argument.
On exit, the returned result is stored in a variable, and also when the mode is activated, the returned object is expanded into script variables, mapping first-level keys and local variable names.
Index |
|
Short title |
|
Types of scenarios |
|
Starter module |
|
Mode |
Asynchronous |
Icon |
![]() |
Branching pattern |
Branching |
Limitations
-
If a timeout is triggered, the script stops waiting for a response and passes control to the next component, the executed method is not terminated.
Properties
Specification | Description |
---|---|
Title: |
JS function code to be executed in node.js in a product layer microservice environment. |
Title: |
Switches the parameter setting mode for the runtime environment. Possible values:
When passing JSON string values, representing objects are available in code as objects, JSON arrays are available as arrays, strings and numbers default to strings, dates as a string, and blank values are left blank (null). |
Title: |
List of parameters to be passed and their names. If the value is a JSON string with an object or array, the object or array will be accessed directly in the JS code when the corresponding variable is accessed. |
Title: |
Argument defining the timeout of code execution in the node JS. |
Title: |
Variable where the full body of the execution result is stored. |
Title: |
Variable where the string with the error code and text is saved. |
Title: |
Component to which control is passed. |
Title: |
Component to which control is passed in case of timeout. |
Title: |
The component to which control is passed in case of an error. |