Skip to main content

B4A.BASE

b4A Package B4A.BASE

Details

DetailValue
NameB4A.BASE
Version1.3.0
DescriptionObjects and actions for using best4Automic in automation processes
Supportedyes
DependenciesBBC.SHARED ~= 1.0.0
Number of objects89

Description

This package provides utilities for starting b4A modules and creating services using several b4A modules. All actions can be used on Unix/Linux and Microsoft Windows systems.

Requirements

  • Unix/Linux
    • a bash 2 compatible shell
    • Unix tools: cat, rm, mktemp
  • Windows
    • Powershell 5.0

Initialization

In order for the input masks of the actions to be filled in a meaningful way, the the Connections variable and the Modules variable must be adapted.

Connections variable

The b4A connections that are configured in defaults.conf and should be available from the client must be stored in the VARA B4A.BASE.VARA.CONNECTIONS. The util.ConnectionsSaveTo module can be used for this purpose.

  • Key and Value1: b4A connection name
  • Value2: System
  • Value3: Client
  • Value4: User name
  • Value5: Department

Modules variable

The VARA B4A.BASE.VARA.MODULES contains the available b4A modules that are to be available via the actions. The list must be compared with the modules available for the b4A installation. The util.ModulesSaveTo module can be used here.

Configuration

The main configuration object is B4A.BASE.VARA.SETTINGS. All settings in this variable are described briefly by the text in value 2. Further details can be found in the following sections.

Credentials

Credentials for the b4A connections are read from the defaults.conf file by default. With the setting CREDENTIALS_OBJECT there is an alternative, that is supported by all actions but the action B4A.BASE.JOBP@IF.RUN#LOGIN. If a login object is defined in value 1 of key CREDENTIALS_OBJECT, than the credential are read from that object. Therefore an entry with a type named like the b4A connection must exist. For example: If the connection AE21-0099 is selected an entry with the type AE21-0099 must exist. The username and department must be found the login info field (separated by a slash). If there is no slash in the login information the department is left empty. If no matching entry can be found in the login object the b4A actions will try to connect without additional credentials.

Release Notes

Version 1.0.0

  • Initial release

Version 1.1.0

  • [B4APKG-175] New Action to start b4A Groovy scripts

Version 1.2.0

  • [B4APKG-200] B4A.BASE.JOBS@WIN.RUN#LOGIN: Getting git username fails
  • [B4APKG-191] Groovy Action: Optionale Angabe des b4A Script-Verzeichnisses

Version 1.3.0

  • [B4APKG-205] Login and vara option action generate at activation time* [B4APKG-211] Return Code of RUN action is always 0
  • [B4APKG-233] B4A.BASE.JOBI.CONFIG-ADD: debug message may cause problems with special characters
  • [B4APKG-206] Example for datastream with login action

Metadata

KeyValue
Compatible withb4A >= 5.0.0
Companybest-blu consulting with energy GmbH
DescriptionObjects and actions for using best4Automic in automation processes
CategoriesBEST4AUTOMIC
Version1.3.0
Webhttps://docs.best4automic.de
Built On2025-04-22 16:41:24
DependenciesBBC.SHARED ~= 1.0.0
Initialized On2020-11-09 12:44:16
Installed On2021-06-09 11:24:02
Supportedyes
NameB4A.BASE

Content

Service

NameTitle
B4A.BASE.JOBP.SMOKE-TEST[Service] A smoke test to verify basic configuration of b4A

Actions

NameTitle
B4A.BASE.JOBP@IF.RUNStarts a b4A module
B4A.BASE.JOBP@IF.RUN#DOCU-OPTIONStarts a b4A module and reads option data from a DOCU object
B4A.BASE.JOBP@IF.RUN#LOGINStarts a b4A module using credentials from a login object
B4A.BASE.JOBP@IF.RUN#LOGIN-STR-OPTIONStarts a b4A module using credentials from a login object and reads data from a string to create a file for an option
B4A.BASE.JOBP@IF.RUN#STR-OPTIONStarts a b4A module and reads data from a string to create a file for an option
B4A.BASE.JOBP@IF.RUN#VARA-OPTIONStarts a b4A module and reads option data from a VARA object
B4A.BASE.JOBP@IF.RUN-CUSTOM-SOLUTIONRuns a b4A custom solution
B4A.BASE.JOBP@IF.RUN-GROOVYRuns a b4A Groovy script

Configuration

NameTitle
B4A.BASE.DOCU.MAIL-FOOTERDefines the default mail footer
B4A.BASE.VARA.CONFIG#BASICBasic configuration for b4A modules
B4A.BASE.VARA.CONFIG#BASIC$$$AE21A-0020Basic configuration for b4A modules
B4A.BASE.VARA.CONFIG#BASIC$$$AE21A-0021Basic configuration for b4A modules
B4A.BASE.VARA.CONFIG#BASIC$$$AE21A-0060Basic configuration for b4A modules
B4A.BASE.VARA.CONFIG#BASIC$$$AE21A-0200Basic configuration for b4A modules
B4A.BASE.VARA.CONFIG#BASIC$$$AE21A-0201Basic configuration for b4A modules
B4A.BASE.VARA.CONFIG#BASIC$$$AE24Basic configuration for b4A modules
B4A.BASE.VARA.CONNECTIONSAll available connections
B4A.BASE.VARA.CONNECTIONS$$$AE21A-0019All available connections
B4A.BASE.VARA.CONNECTIONS$$$AE21A-0020All available connections
B4A.BASE.VARA.CONNECTIONS$$$AE21A-0021All available connections
B4A.BASE.VARA.CONNECTIONS$$$AE21A-0022All available connections
B4A.BASE.VARA.CONNECTIONS$$$AE21A-0200All available connections
B4A.BASE.VARA.CONNECTIONS$$$AE21A-0201All available connections
B4A.BASE.VARA.CONNECTIONS$$$AE24-0200All available connections
B4A.BASE.VARA.CONNECTIONS$$$AE24-0201All available connections
B4A.BASE.VARA.MODULESAll available modules
B4A.BASE.VARA.SETTINGSBasic settings
B4A.BASE.VARA.SETTINGS$$$AE21ABasic settings
B4A.BASE.VARA.SETTINGS$$$AE21A-0020Basic settings
B4A.BASE.VARA.SETTINGS$$$AE21A-0021Basic settings
B4A.BASE.VARA.SETTINGS$$$AE21A-0022Basic settings
B4A.BASE.VARA.SETTINGS$$$AE21A-0032Basic settings
B4A.BASE.VARA.SETTINGS$$$AE21A-0200Basic settings
B4A.BASE.VARA.SETTINGS$$$AE24Basic settings
B4A.BASE.VARA@XML.LOGIN-TYPESLogin parameter settings

Sources & Documentation

NameTypeSubtypeFolder
B4A.BASE.DOCU.LICENSESDocumentation/DOCUMENTATION
B4A.BASE.DOCU.RELEASE-NOTESDocumentation/DOCUMENTATION
B4A.BASE.JOBI.CONFIG-ADDInclude/SOURCE/CONFIGURATION
B4A.BASE.JOBI.CONFIG-ADD-TEMPInclude/SOURCE/CONFIGURATION
B4A.BASE.JOBI.CONFIG-ADD-VARAInclude/SOURCE/CONFIGURATION
B4A.BASE.JOBI.CONFIG-CREATEInclude/SOURCE/CONFIGURATION
B4A.BASE.JOBI.CONFIG-READ-PROMPTSETInclude/SOURCE/CONFIGURATION
B4A.BASE.JOBI.DEFINE-ALIASInclude/SOURCE/RUN
B4A.BASE.JOBI.EXITInclude/SOURCE/RUN
B4A.BASE.JOBI.GET-CREDENTIALSInclude/SOURCE/RUN
B4A.BASE.JOBI.PROCESS-RESULTSInclude/SOURCE/RUN
B4A.BASE.JOBI.RESOLVE-AGENTGROUPInclude/SOURCE/SETTINGS
B4A.BASE.JOBI.RUN-CUSTOM-SOLUTION@UNIXInclude/SOURCE/RUN
B4A.BASE.JOBI.RUN-CUSTOM-SOLUTION@WINInclude/SOURCE/RUN
B4A.BASE.JOBI.RUN-GROOVY@UNIXInclude/SOURCE/RUN
B4A.BASE.JOBI.RUN-GROOVY@WINInclude/SOURCE/RUN
B4A.BASE.JOBI.RUN@UNIXInclude/SOURCE/RUN
B4A.BASE.JOBI.RUN@WINInclude/SOURCE/RUN
B4A.BASE.JOBI.SETTINGSInclude/SOURCE/SETTINGS
B4A.BASE.JOBI.VARIABLESInclude/SOURCE/SETTINGS
B4A.BASE.JOBS@UNIX.RUNJobUNIX/SOURCE/RUN/STANDARD
B4A.BASE.JOBS@UNIX.RUN#DOCU-OPTIONJobUNIX/SOURCE/RUN/DOCU
B4A.BASE.JOBS@UNIX.RUN#LOGINJobUNIX/SOURCE/RUN/LOGIN
B4A.BASE.JOBS@UNIX.RUN#LOGIN-STR-OPTIONJobUNIX/SOURCE/RUN/LOGIN-STRING
B4A.BASE.JOBS@UNIX.RUN#STR-OPTIONJobUNIX/SOURCE/RUN/STRING
B4A.BASE.JOBS@UNIX.RUN#VARA-OPTIONJobUNIX/SOURCE/RUN/VARIABLE
B4A.BASE.JOBS@UNIX.RUN-CUSTOM-SOLUTIONJobUNIX/SOURCE/RUN/CUSTOM-SOLUTION
B4A.BASE.JOBS@UNIX.RUN-GROOVYJobUNIX/SOURCE/RUN/GROOVY
B4A.BASE.JOBS@WIN.RUNJobWINDOWS/SOURCE/RUN/STANDARD
B4A.BASE.JOBS@WIN.RUN#DOCU-OPTIONJobWINDOWS/SOURCE/RUN/DOCU
B4A.BASE.JOBS@WIN.RUN#LOGINJobWINDOWS/SOURCE/RUN/LOGIN
B4A.BASE.JOBS@WIN.RUN#LOGIN-STR-OPTIONJobWINDOWS/SOURCE/RUN/LOGIN-STRING
B4A.BASE.JOBS@WIN.RUN#STR-OPTIONJobWINDOWS/SOURCE/RUN/STRING
B4A.BASE.JOBS@WIN.RUN#VARA-OPTIONJobWINDOWS/SOURCE/RUN/VARIABLE
B4A.BASE.JOBS@WIN.RUN-CUSTOM-SOLUTIONJobWINDOWS/SOURCE/RUN/CUSTOM-SOLUTION
B4A.BASE.JOBS@WIN.RUN-GROOVYJobWINDOWS/SOURCE/RUN/GROOVY
B4A.BASE.PRPT.DATASTREAMPrompt Set/SOURCE/DATASTREAM
B4A.BASE.PRPT.DATASTREAM#LOGINPrompt Set/SOURCE/DATASTREAM
B4A.BASE.PRPT.RUNPrompt Set/SOURCE/RUN/STANDARD
B4A.BASE.PRPT.RUN#DOCU-OPTIONPrompt Set/SOURCE/RUN/DOCU
B4A.BASE.PRPT.RUN#LOGINPrompt Set/SOURCE/RUN/LOGIN
B4A.BASE.PRPT.RUN#LOGIN-STR-OPTIONPrompt Set/SOURCE/RUN/LOGIN-STRING
B4A.BASE.PRPT.RUN#STR-OPTIONPrompt Set/SOURCE/RUN/STRING
B4A.BASE.PRPT.RUN#VARA-OPTIONPrompt Set/SOURCE/RUN/VARIABLE
B4A.BASE.PRPT.RUN-CUSTOM-SOLUTIONPrompt Set/SOURCE/RUN/CUSTOM-SOLUTION
B4A.BASE.PRPT.RUN-GROOVYPrompt Set/SOURCE/RUN/GROOVY
B4A.BASE.SCRI.DATASTREAMScript/SOURCE/DATASTREAM
B4A.BASE.SCRI.DATASTREAM#LOGINScript/SOURCE/DATASTREAM
B4A.BASE.SCRI.GET-SETTINGSScript/SOURCE/SETTINGS
B4A.BASE.VARA.METADATAVariableSTATIC
B4A.BASE.VARA@EXEC.DATASTREAM#EXAMPLEVariableEXEC/SOURCE/DATASTREAM
B4A.BASE.VARA@EXEC.DATASTREAM#EXAMPLE#LOGINVariableEXEC/SOURCE/DATASTREAM
B4A.BASE.VARA@EXEC.GET-SETTINGSVariableEXEC/SOURCE/SETTINGS