Get launch structure
Gets the launch parameters structure
- Parameters
- Advanced call ?
Function GetLaunchStructure(Val Clear = False, Val AsMap = False) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
| AsMap | --map | Boolean | ✖ | True > returns the filter fields as a map |
Returns
Structure Of KeyAndValue - Fields structure
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Result = OPI_ReportPortal.GetLaunchStructure();
- Bash
- CMD/Bat
oint rportal GetLaunchStructure \
--empty true
oint rportal GetLaunchStructure ^
--empty true
Result
{
"name": "<launch name>",
"startTime": "<launch start time>",
"description": "<launch description>",
"uuid": "<UUID of the launch. Will be generated automatically if not filled>",
"attributes": "<launch attributes in the form key1:value1, key2:value2>",
"mode": "<mode: default or debug>",
"rerun": "<rerun flag>",
"rerunOf": "<UUID of an existing launch if rerun = True>"
}