B4A.PM.SCRI.PARSE-PACKAGES-JSON
Details
| Property | Value |
|---|---|
| Type | SCRI |
| Subtype | - |
| Folder | PACKAGES/BEST4AUTOMIC/B4A.PM/SOURCE/INSTALL-MULTIPLE-RELEASES |
| Active | true |
| Title | Parses packages and versions for EXEC VARA |
| Archive Key 1 | - |
| Archive Key 2 | - |
| Created | Writer best4Automic am: 2026-10-08 13:26:10 |
| Last Modified | Writer best4Automic am: 2026-10-08 13:26:10 1 x |
| Last Used | - |
Custom Attributes
No custom attributes defined.
Process
:SET &PACKAGES# = JSON_TO_PROCESS(&JSON_STR#, "$[*]")
:DEFINE &ITEMS#, string, 100
:SET &IDX# = 0
:PROCESS &PACKAGES#
: SET &JSON_ITEM# = GET_PROCESS_LINE(&PACKAGES#)
: SET &PACKAGE# = JSON_GET_VALUE(&JSON_ITEM#, "$['B4AP_PACKAGE_I#'].value")
: SET &VERSION# = JSON_GET_VALUE(&JSON_ITEM#, "$['B4AP_VERSION_I#'].value")
: SET &IDX# = ADD(&IDX#, 1)
: SET &ITEMS#[&IDX#] = "&PACKAGE#§§&VERSION#"
:ENDPROCESS
:CLOSE_PROCESS &PACKAGES#
:PUBLISH &ITEMS#[], , "WORKFLOW"```
### Runtime
ERT Method
: DYNAMIC_AVERAGE
Current ERT
: _00_ : _01_ : _01_
No. of past runs
: 0
+ERT Correction %
: 0
### Sync
No sync definitions.
### Variables
No variables defined.
### Prompt Sets
#### B4A.PM.PRPT.INSTALL-MULTIPLE-RELEASES
| Label | Variable | Type | Default Value | Tooltip |
|----------|-------------|---------|------------------|------------|
| | B4AP_CONNECTION_I# | | `` | |
| | B4AP_PACKAGES_I# | | `` | |
### Automatic Deactivation
Deactivate on Finish
: ALWAYS
Deactivate After
: 0
### Runtime Parameters
AE Priority
: 0
Timezone
: \-
Generate at runtime
: _true_
Max. Parallel Tasks
: 0
### Usage
| Parent | Type | Package | Folder |
| ------ | ---- | ------- | ------ |
| B4A.PM.JOBP.INSTALL-MULTIPLE-RELEASES | JOBP | B4A.PM | PACKAGES/BEST4AUTOMIC/B4A.PM/SERVICES |
#### Variable Publications