2022.2

Table Of Contents
Note: Value_To_Matchcan be a static string, a jobInfo or a variable, but not a data selection.
For the Value_To_Match parameter, the single-quotes surrounding the value are mandatory
even if the value is dynamic.
This function may also be used anywhere else where the contextual menu gives access to it. You
could, for example, use it on the General tab of the Create File task, to fill in the value of a key/value
pair in a JSON string.
Tip: The Data Repository Manager displays, at the bottom left, the syntax used for accessing a
specific value.
Note: Lookup()returns NODATA when the group and/or key does not exist.
In previous versions of the software, trying to do a look-up in a non-existent group and/or key
would cause an error. This change in behavior may affect any Workflow configuration that uses
an on error process related to invalid groups/keys.
Scripts
In a script you can access the Data Repository using the "Data Repository API" on page146.
For a quick start, turn to this How-to: Interacting with the Data Repository API.
Data Repository Manager
At design-time, the Data Repository Manager may be used to insert or remove Groups, Keys and
KeySets; see "Data Repository Manager" on page707.
Where to find the Data Repository
In case the Repository contains valuable information that must not be lost in case of a hardware failure,
create a backup of the repository.
By default, the Data Repository is located in the following folder:
%ProgramData%\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\Repository.
It is also possible to create a Repository at a custom location; see "ConnectionString" below.
ConnectionString
Creates/opens a Repository to read from and write to at a custom location.
Set ConnectionString to a string containing a full path and file name.
When ConnectionString is not set, or is set to an empty string, the default Repository is used (see
"Where to find the Data Repository" above).
Reading ConnectionString returns the path of the current Data Repository file.
Note that an instance of the Repository is not kept between scripts and tasks.
Page 81