Process Start Component
:icons:font :hardbreaks: :imagesdir: ../../../assets/images :toc-title: Contents :toc:
Description
Launches an external console process on the server. Parameters are passed in the body of the command line. The process’s return value from the console can be captured and returned to a variable.
The operation must be previously enabled and configured in the permissions.json asset file on each server where the component can be executed.
Index |
|
Short name |
|
Script types |
|
Start module |
|
Mode |
Asynchronous |
Icon |
|
Branching type |
Branching, closing |
Properties
| Specification | Description |
|---|---|
Name: Mode Code: Visibility condition: no Default: Asynchronous launch |
Waiting for the OS process to complete. Possible values:
|
Name: Path to the executable file Code: Visibility condition: no Default: — |
Path to file or OS command. Command line prefix. The prefix must be resolved in the permissions.json file. Examples of specifying commands:
To allow these examples, the 'permissions.json' file must contain the following content:
Using bash scripts you can run any commands; permission is checked only for the path to the starting bash script. |
Name: Command line launch options Code: Visibility condition: no Default: — |
Command postfix containing parameters. |
Name: Time, s Code: Visibility condition: yes Default: — |
Timeout waiting for process completion. |
Name: Transition
Code: Default: — |
The component to which control is transferred after an asynchronous launch, or after the successful completion of the process. |
Name: Result into variable Code: Visibility condition: no Default: — |
Variable for saving the console output of the terminated process. |
Name: Transition, error Code: Visibility condition: no Default: — |
The component to which control is transferred in the event of a startup error or process crash. |
Name: Cause of error in variable Code: Visibility condition: no Default: — |
Variable for storing the error. |
Name: Transition, time Code: Visibility condition: yes Default: — |
The component to which control is transferred after the timeout for waiting for the process to complete. |
See also
-
Role svc
-
Asset permissions.json