8.5
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.5
- System Requirements
- Basics
- Features
- The Nature of PlanetPress Workflow
- About Branches and Conditions
- Configuration Components
- Connect Resources
- About Data
- About Documents
- Debugging and Error Handling
- The Plug-in Bar
- About Printing
- About Processes and Subprocesses
- Using Scripts
- Special Workflow Types
- About Tasks
- Task Properties
- Variable Properties
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
GetKeySets
Retrieves Keys values in GroupName for keysets that match Condition. When Keys is left empty, all keys
are retrieved. When Condition is left empty, all keysets are retrieved.
Syntax
GetKeySets(GroupName: string, Keys: JSONStringArray, Condition: string):
JSONStringArray
Examples
JavaScript
repoObject.GetKeySets("Users", '["FirstName","LastName"]', "Gender='M'");
VB Script
repoObject.GetKeySets "Users", "[""FirstName"",""LastName""]", "Gender='M'"
Sample return value
The method returns a JSONStringArray of key-value pairs.
'[{"FirstName": "John","LastName": "Smith"},{"FirstName": "Richard",
"LastName": "Doe"}]'
GetValue
Performs a lookup in group GroupName and retrieves the first value for key KeyName that matches
Condition. The condition is specified using basic SQL WHERE syntax. The Condition may be left empty in
which case the very first value found for the specified KeyName is returned.
Syntax
GetValue(GroupName: string, KeyName: string, Condition: string)
Examples
JavaScript
repoObject.GetValue("Users", "email", " LastName='Smith' AND
FirstName='John' "); // retrieves email for John Smith
repoObject.GetValue("Users", "email", " LastName='Smith' "); // retrieves