Skip to main content
Version: 7.0

Package: Verify Dependency Definition

The module checks if the dependency definitions in the metadata variable are correct. Therefore the real dependencies of the package are determined. This set is compared with the dependencies from the metadata variable. Dependencies that are missing or unnecessary will be registered as errors. Additionally the version comparsion in the definition can be checked against the packages in the current client. The results of the analysis are stored in a variable.

Designation

Name
pm.DependencyDefinitionVerify

Configuration

Variable Object (variable)
Name of the variable object that will be just for storing the data
Variable Source Connection (variable-source)
If given it defines an alternative b4A connection where to find the variable objectMögliche Werte: <TabItem b4A Verbindungen>
XML Variable (xml-variable)
name of the XML variable object used to store the information
Key (xml-variable-key)
key in the XML variable object to use
XML Variable Source Connection (xml-variable-source)
If given it defines an alternative b4A connection where to find the variable objectMögliche Werte: <TabItem b4A Verbindungen>

Output

Static variable

The static variable, which contains the result of the analysis, stores the following values in the individual columns:

  • Key: Name of the package

  • Value 1: Comparison operator from the dependency definition in the metadata variable

  • Value 2: Version number from the dependency definition in the metadata variable

  • Value 3: Status of the investigation for the respective package

  • OK: The dependency really exists and the version comparison matches the installed version

  • UNNECESSARY: The package was specified unnecessarily in the dependencies

  • NOT_INSTALLED: The package is not installed at all in the current client

  • WRONG_VERSION: The package is installed, but does not match the version comparison

  • MISSING: There is a dependency for the package, but it is not in the dependency definition

  • Value 4: The version of the installed package

Values 1 and 2 are empty if the package does not appear in the dependency definition.

If there is more than one dependency definition for packages in the list, these are not displayed in the static variable. To obtain this information, the result of the analysis must be written to an XML variable.

XML variable

If the result is written to an XML variable, the data is saved in the following format. The dependencies section describes the result of each dependency definition. The status tag defines the status of the analysis for the respective dependency definition. The references section contains the objects and their references to objects from other .

<best4Automic version="5.2.0">
<pm>
<package name="TESU.B4A_ANA">
<dependencies>
<dependency operator="~=" package="PCK.BEST4AUTOMIC_BPMN" version="3.0.0">
<status>OK</status>
<installed version="3.27.0"/>
</dependency>
<dependency operator="&lt;=" package="PCK.BEST4AUTOMIC_BPMN" version="3.26.0">
<status>WRONG_VERSION</status>
<installed version="3.27.0"/>
</dependency>
<dependency operator="" package="PCK.BEST4AUTOMIC_PACKAGE" version="">
<status>MISSING</status>
<installed version=""/>
</dependency>
<dependency operator="~=" package="PCK.BEST4AUTOMIC_USER" version="1.0.0">
<status>WRONG_VERSION</status>
<installed version="3.27.0"/>
</dependency>
<dependency operator="&lt;=" package="PCK.BEST4AUTOMIC_USER" version="1.9.0">
<status>WRONG_VERSION</status>
<installed version="3.27.0"/>
</dependency>
<dependency operator="~=" package="B4A.BASE" version="1.0.0">
<status>OK</status>
<installed version="1.0.0"/>
</dependency>
<dependency operator="&lt;=" package="B4A.BASE" version="1.0.0">
<status>OK</status>
<installed version="1.0.0"/>
</dependency>
<dependency operator="~=" package="TESU.B4A_PM" version="1.0.0">
<status>WRONG_VERSION</status>
<installed version="0.0.0-0"/>
</dependency>
<dependency operator="&lt;=" package="TESU.B4A_PM" version="1.9.0">
<status>OK</status>
<installed version="0.0.0-0"/>
</dependency>
<dependency operator="~=" package="PCK.BEST4AUTOMIC_UNKNOWN" version="1.0.0">
<status>UNNECESSARY</status>
<installed version=""/>
</dependency>
<dependency operator="&lt;=" package="PCK.BEST4AUTOMIC_UNKNOWN" version="1.9.0">
<status>UNNECESSARY</status>
<installed version=""/>
</dependency>
</dependencies>
<references>
<object name="TESU.B4A_ANA.SCRI.REFERENCES">
<reference name="TESU.B4A_PM.PRPT.DEPENDENCYDEFINITIONVERIFY"/>
</object>
<object name="TESU.B4A_ANA.PRPT.REFERENCES">
<reference name="PCK.BEST4AUTOMIC_BPMN.VARA.SAP_SYSTEMS"/>
<reference name="PCK.BEST4AUTOMIC_PACKAGE.VARA.CATEGORIES"/>
<reference name="PCK.BEST4AUTOMIC_USER.VARA.ROLES"/>
<reference name="B4A.BASE.VARA.CONFIG#BASIC"/>
</object>
</references>
</package>
</pm>
</best4Automic>