search cancel

How to automatically execute an object on agent action

book

Article ID: 88566

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Symptoms
 
It is possible to set an automatic action when an agent  starts, stops or ends lost (gets status ENDED_LOST). An automatic notification for monitoring purposes for example.
 
 

Environment

Release: AOATAM99000-8.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Logon to client 0 go to the folder HOST_VARIABLES.
 

<Please see attached file for image>

align="bottom" class="documentation" border="0" alt=".png" src="http://ecmstage.ca.com/KB%20Asset%20Library/000008513_Embeded/.png" width="1073" height="590">

 
  • In the folder HOST_VARIABLES, go to the UC_HOSTCHAR* you have defined for the Agent that you want to set the action for.
 
*You can also check in the variable UC_EX_HOSTCHAR in the folder EX_VARIABLES which  
  UC_HOSTCHAR* is defined for the agent.
 
*you can set these settings in the UC_HOSTCHAR_DEFAULT, please keep in mind that if set here
  it will be a setting used for all agents that use this UC_HOSTCHAR*
 
 
  • To set an action when the Agent starts:
Open the UC_HOSTCHAR DEFAULT enter EXECUTE_ON_START on the VALIDITY KEYWORD  
side and the object you want to be executed when the agent starts on the VALUE side. 
Save these settings and restart the agent to apply these new settings.
 
  • To set an action when the Agent ends lost (gets status ENDED_LOST): 
Open the UC_HOSTCHAR DEFAULT enter EXECUTE_ON_LOST on the VALIDITY KEYWORD 
side and the object you want to be executed when the agent ends lost on the VALUE side.
Save these settings and restart the agent to apply these new settings 
  • To set an action when the Agent ends: 
Open the UC_HOSTCHAR DEFAULT enter EXECUTE_ON_END on the VALIDITY KEYWORD 
side and the object you want to be executed when the agent ends on the VALUE side. Save 
these settings and restart the agent to apply these new settings

<Please see attached file for image>

align="bottom" class="documentation" border="0" alt=".png" src="http://ecmstage.ca.com/KB%20Asset%20Library/000008513_Embeded/.png" width="1057" height="581">