2022.2

Table Of Contents
Script.ReturnValue = 0
}
VBScript
Dim everythingOK
everythingOK = true
if (everythingOK = true) then
Script.ReturnValue = 1
else
Script.ReturnValue = 0
end if
Python
everythingOK = True
if everythingOK:
Script.ReturnValue = 1
else:
Script.ReturnValue = 0
Perl
$everythingOK = 1;
if ($everythingOK) {
$Script->{ReturnValue} = 1;
} else {
$Script->{ReturnValue} = 0;
}
Data Repository API
The Data Repository is a permanent structure to store data that can then be reused, modified or aug-
mented at a later time, by different processes.
The Data Repository can be accessed at runtime by the Push To Repository plugin and other tasks
(see "Data Repository" on page79) and at design time via the "Data Repository Manager" on page707.
This topic explains how to access the Data Repository in script.
For a quick start, turn to this How-to: Interacting with the Data Repository API.
Caution: All operations on the Repository must be performed through this API - rather than dir-
ectly accessing the physical file - since the Repository's underlying file structure may change
over time. This API is guaranteed to remain compatible with future versions of the Data Repos-
itory. It is used by all Workflow tasks dealing with the Repository.
Page 146