Script Function: Loads a stored data sequenceAn internal listing of Console outputs or lines of Variable objects, etc. The lines of a data sequence can be accessed by using a PROCESS loop or the script element GET_PROCESS_LINE. The script elements PREP_PROCESS* generate data sequences..
LOAD_PROCESS(RunID, Key)
Syntax |
Description/Format |
---|---|
The RunID of the taskAn executable object that is running. Tasks are also referred to as activities. whose stored data sequence should be loaded. |
|
Key | The internal name under which the data sequence has been stored. Format: AE name, script literal or script variable |
Return Code |
---|
The reference to the stored data sequence. |
This scriptA particular Automation Engine object type. functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… loads a data sequence that has been stored in the AE databaseA database is an organized collection of data including relevant data structures. using the script element SAVE_PROCESS and makes this task available. For this purpose, you must indicate the RunID of the activityAn activity (or task) is an entity that can be planned, assigned to a user or a team and tracked with respect to their plan and state (started, cancelled, suspended, completed). that has been used to store the data sequence and the term that has been used to store the data sequence in the database (Key). The Key is the return codeThe value that represents the result of tasks and script functions. of the function SAVE_PROCESS.
Stored data sequences can be loaded and used several times by any tasks.
Note that SAVE_PROCESS stores the data sequence but it does not close it. This means that you still need to use the script element CLOSE_PROCESS.
For detailed examples, see the description of SAVE_PROCESS.
See also:
Script Element | Description |
---|---|
Discards a data sequence within a script. |
|
The definition of a loop for the line by line processing of a data sequence such as the content of a sequential file or the text result of a command. |
|
CREATE_PROCESS | Creates a new data sequence. |
Returns the content of the current line of a data sequence. |
|
SAVE_PROCESS | Stores a certain data sequence. |
Script Elements - Data Sequences
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |