Editing event rules
Editing event rules in the HCL Workload Automation database.
About this task
The purpose of the following scenario is to show how to edit an existing event rule in the context of an example.
To avoid the SAP system overload when operators work, you want to set a low SAP job limit during the day, and instead increase the SAP job limit during the night. Thus, you created an event rule named SAP_OPERATOR_MODE that increases the number of running SAP jobs.
The number of SAP jobs increases when an SAP event, which ID is SAP_OPMODE_SWITCH and the parameter is equal to NIGHT, is raised. In the following scenario, the NIGHT parameter corresponds to 8pm.
After few months, the number of SAP jobs is increased, so you need to edit the event rule to make all jobs run. To achieve that, you need to anticipate the running time from NIGHT to AFTERNOON. In the following scenario, the AFTERNOON parameter corresponds to 6pm.
Procedure
- Select the engine where the event rule has been created.
- Select the event rule named SAP_OPERATOR_MODE and select Edit.
-
The SAP_OPERATOR_MODE event rule with the following parameters opens:
-
Selecting SAP_OPERATOR_MODE, you can see the following parameters in the General Info panel:
Name: SAP_OPERATOR_MODE
Save as draft: off
Description: Increase workstation limit
-
Selecting the SAP Event Raised on XA Workstations event, you can see the following parameters in the Properties panel:
Event name: R3EventRaised1
Workstation matches: S4HANA
SAP Event ID equal to: SAP_OPMODE_SWITCH
SAP Event parameter equal to: NIGHT
-
Selecting the Submit job action, you can see the following parameters in the Properties panel:
Job name: Increase_limit_on_S4HANA_wks
Job workstation name: fta_production
Description: definition to increase the SAP job limit
-
- Select the SAP Event Raised on XA Workstations event and change the SAP Event parameter from NIGHT to AFTERNOON.
- Select the event rule checkbox and then select Save.