B4A.PM.SCRI.DEPENDENCY-CHECK-STATUS

Summary

Details

Object type
SCRI
Object Subtype
-
Object Folder
PACKAGES/BEST4AUTOMIC/B4A.PM/SOURCE/DEPENDENCY-CHECK
Active
true
Title
Determines the status of the dependency check
Archive Key 1
-
Archive Key 2
-
Created
WRITER/B4A am: 2022-03-24 08:03:16
Last Modified
WRITER/B4A am: 2022-07-01 18:43:15 7 x
Last Used
-

Custom Attributes

No custom attributes defined.

Process

:set &ok# = 0
:set &unnecessary# = 0
:set &not_installed# = 0
:set &wrong_version# = 0
:set &missing# = 0
:set &errors# = 0

:set &hnd# = prep_process_var_xml( "&B4AP_XML_VARIABLE_I#", "&B4AP_PACKAGE_I#", '/best4Automic/pm/package/dependencies/dependency/status/text()' )
:process &hnd#
:  set &status# = get_process_line( &hnd#, 1 )
:  switch &status#
:    case "OK"
:      set &ok# = &ok# + 1
:    case "UNNECESSARY"
:      set &unnecessary# = &unnecessary# + 1
:      set &errors# = &errors# + 1
:    case "NOT_INSTALLED"
:      set &not_installed# = &not_installed# + 1
:      set &errors# = &errors# + 1
:    case "WRONG_VERSION"
:      set &wrong_version# = &wrong_version# + 1
:      set &errors# = &errors# + 1
:    case "MISSING"
:      set &missing# = &missing# + 1
:      set &errors# = &errors# + 1
:  endswitch
:endprocess

:close_process &hnd#

:set &ok# = format( &ok# )
:set &unnecessary# = format( &unnecessary# )
:set &not_installed# = format( &not_installed# )
:set &wrong_version# = format( &wrong_version# )
:set &missing# = format( &missing# )

:p "result"
:p "  ok           : &ok#"
:p "  unnecessary  : &unnecessary#"
:p "  not installed: &not_installed#"
:p "  wrong version: &wrong_version#"
:p "  missing      : &missing#"

:set &B4AP_DEP_VERIFY_RESULT_O# = "FAILED"
:if &errors# = 0
:  set &B4AP_DEP_VERIFY_RESULT_O# = "OK"
:endif

:publish &B4AP_DEP_VERIFY_RESULT_O#, , 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



No promptsets defined.



### Automatic Deactivation

Deactivate on Finish
: ALWAYS



Deactivate After
: 0



### Runtime Parameters



AE Priority
: 0

Timezone
: \-

Generate at runtime
: _false_

Max. Parallel Tasks
: 0






### Usage

| Parent | Type | Package | Folder |
| ------ | ---- | ------- | ------ |
| [B4A.PM.JOBP.DEPENDENCY-CHECK](//b4a.pm.jobp.dependency-check/)/) | JOBP | B4A.PM | PACKAGES/BEST4AUTOMIC/B4A.PM/SERVICES |



#### Variable Publications








Found 1 variable publications (WORKFLOW)

| Zeilennummer | Scriptzeile |
| ------------ | ----------- |
| 50 | ``:publish &B4AP_DEP_VERIFY_RESULT_O#, , WORKFLOW`` |