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 in the destination client
Archive Key 1
-
Archive Key 2
-
Created
WRITER/B4A am: 2022-03-24 08:03:16
Last Modified
WRITER/B4A am: 2024-01-09 10:39:04 8 x
Last Used
-

Custom Attributes

No custom attributes defined.

Process

:set &ok# = 0
:set &missing# = 0
:set &failed# = 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 "FAILED"
:      set &failed# = &failed# + 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 &failed# = format( &failed# )
:set &missing# = format( &missing# )

:p "result"
:p "  ok           : &ok#"
:p "  failed       : &failed#"
:p "  missing      : &missing#"

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

:publish &B4AP_DEP_CHECK_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
: _true_

Max. Parallel Tasks
: 0






### Usage

| Parent | Type | Package | Folder |
| ------ | ---- | ------- | ------ |
| B4A.PM.JOBP.DEPENDENCY-CHECK | JOBP | B4A.PM | PACKAGES/BEST4AUTOMIC/B4A.PM/SERVICES |



#### Variable Publications








Found 1 variable publications (WORKFLOW)

| Zeilennummer | Scriptzeile |
| ------------ | ----------- |
| 38 | ``:publish &B4AP_DEP_CHECK_RESULT_O#, , WORKFLOW`` |