Automation Engine Script Guide > Ordered by Function > Data Sequences > LOAD_PROCESS

LOAD_PROCESS

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..

Syntax

LOAD_PROCESS(RunID, Key) 

Syntax

Description/Format

RunIDShort for "run number". It is a number that provides unique information about a task's execution. The RunID can include 7 to 10 digits. It is assigned by the Automation Engine component .

The RunID of the taskAn executable object that is running. Tasks are also referred to as activities. whose stored data sequence should be loaded.
Format: A number without inverted commas, script literal or script variable

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.

Comments

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.

Examples

For detailed examples, see the description of SAVE_PROCESS.

 

See also:

Script Element Description

:CLOSE_PROCESS

Discards a data sequence within a script.

:PROCESS... :TERM_PROCESS... :ENDPROCESS

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.

GET_PROCESS_LINE

Returns the content of the current line of a data sequence.

SAVE_PROCESS Stores a certain data sequence.

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