Zum Hauptinhalt springen

B4A.BASE.JOBI.RESOLVE-AGENTGROUP

Description

Details

PropertyValue
TypeJOBI
FolderPACKAGES/BEST4AUTOMIC/B4A.BASE/SOURCE/SETTINGS
TitleReads b4a settings for the specific platform
Archive Key 1-
Archive Key 2-
CreatedAndreas Büsching am: 2020-11-12 14:48:50
Last ModifiedAndreas 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)

ZeilennummerScriptzeile
16: publish &B4AB_AGENT_RESOLVED_O#, , WORKFLOW

Found 1 variable publications (TASK)

ZeilennummerScriptzeile
23:publish &B4AB_PLATFORM_O#, , TASK