B4A.BASE.JOBI.RESOLVE-AGENTGROUP
Description
Details
Property | Value |
---|---|
Type | JOBI |
Folder | PACKAGES/BEST4AUTOMIC/B4A.BASE/SOURCE/SETTINGS |
Title | Reads b4a settings for the specific platform |
Archive Key 1 | - |
Archive Key 2 | - |
Created | Andreas Büsching am: 2020-11-12 14:48:50 |
Last Modified | Andreas Büsching am: 2025-07-01 16:40:51 23 x |
Last Used | - |
Process
:set &agent# = "$AGENT$"
:set &type# = get_object_type( &agent# )
:if &type# = "HOSTG"
: set &B4AB_AGENT_RESOLVED_O# = "&B4AB_AGENT_RESOLVED_O#"
: if &B4AB_AGENT_RESOLVED_O# <> ""
: p "agent group has been resolved before. Reusing the agent &B4AB_AGENT_RESOLVED_O#."
: set &B4AB_AGENT_O# = &B4AB_AGENT_RESOLVED_O#
: else
: set &hnd# = prep_process_agentgroup( &B4AB_AGENT_O# )
: process &hnd#
: set &B4AB_AGENT_O# = get_process_line( &hnd#, 1 )
: term_process
: endprocess
: close_process &hnd#
: set &B4AB_AGENT_RESOLVED_O# = &B4AB_AGENT_O#
: publish &B4AB_AGENT_RESOLVED_O#, , WORKFLOW
: endif
:else
: set &B4AB_AGENT_O# = &agent#
:endif
:set &B4AB_PLATFORM_O# = get_var( "UC_HOST_JCL_VAR", "&B4AB_AGENT_O#", 1 )
:publish &B4AB_PLATFORM_O#, , TASK
Variable Publications
Found 1 variable publications (WORKFLOW)
Zeilennummer | Scriptzeile |
---|---|
16 | : publish &B4AB_AGENT_RESOLVED_O#, , WORKFLOW |
Found 1 variable publications (TASK)
Zeilennummer | Scriptzeile |
---|---|
23 | :publish &B4AB_PLATFORM_O#, , TASK |