Skip to main content

Get launch structure

Gets the launch parameters structure

Function GetLaunchStructure(Val Clear = False, Val AsMap = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values
AsMap--mapBooleanTrue > returns the filter fields as a map
Returns

Structure Of KeyAndValue - Fields structure

1C:Enterprise/OneScript code example
Result = OPI_ReportPortal.GetLaunchStructure();
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>"
}