Most processes require parameters (e.g. a period) for execution. This information can be stored in Run Controls (RUN_CONTROL_RECORDS). Processes retrieve their execution parameters from the corresponding Run Control.
Usually, a Run Control is a single databaseA database is an organized collection of data including relevant data structures. record in the PeopleSoft database. It can also comprise several data records. Unique Run-Control identification is guaranteed with the two keywords OPRID (User ID) and RUN_CNTRL_ID.
AE provides the functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… PS_MODIFY_RUNCONTROL which can be used to modify Run Controls. Modification in this case refers to an individual data record. If several data records of Run Controls need to be maintained, make an individual PS_MODIFY_RUNCONTROL call for each modification. The AE procedure differs from online maintenance in PeopleSoft.
Example 1
A userIn the Automation Engine, a user is an instance of a User object, and generally the user is a specific person who works with Automic products. The User object is assigned a user ID and then a set of access rights to various parts of the Automation Engine system and product suite. These access rights come in the form of Automation Engine authorizations and privileges, Decision user roles and EventBase rights and ARA web application object rights. You can manage all these centrally in the ECC user management functions. See also, Unified user management. wants to process the SQR reportA report provides more detailed information about a task's execution or a component. "Employee Turnover Analysis" and therefore creates the Run Control "myRunControl". After adding the Run Control, the parameter fields required for the report are entered and stored. The relevant fields are FROM_DATE and THRU_DATE.
AE can automate this modification by retrieving the user ID from the PeopleSoft jobAn Automation Engine object type for a process that runs on a target system.'s Login objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task.
PS_MODIFY_RUNCONTROL RUNCONTROLID='myRunControl',RECORDNAME='RUN_CNTL_HR',FIELDNAME='FROM_DATE',FIELDVALUE='20050306'
PS_MODIFY_RUNCONTROL RUNCONTROLID='myRunControl',RECORDNAME='RUN_CNTL_HR',FIELDNAME='THRU_DATE',FIELDVALUE='20060306'
Example 2
The following example shows a Run Control for currency conversion. In this case, fields and values are provided in listShows entities in a grid view form (currency list).
In order to change currency values, a key must also be assigned when calling PS_MODIFY_RUNCONTROL
PS_MODIFY_RUNCONTROL RUNCONTROLID='myRunControl',RECORDNAME='RUN_CNTL_CC2_EO',FIELDNAME='RATE_MULT',FIELDVALUE='100',KEYNAME(1)='CURRENCY_CD',KEYVALUE(1)='EUR'
The data of the currency list is provided in level 1. Thus, indicate the number 1 in the parameters KEYNAME(1)= and KEYVALUE(1)=.
Keep the following recommendations in mind when changing Run Controls:
See also:
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |