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
email for first user named Smith
repoObject.GetValue("Users", "email", ""); // retrieves email for first user
VB Script
repoObject.GetValue "Users", "email", " LastName=""Smith"" AND
FirstName=""John"" " // retrieves email for John Smith
repoObject.GetValue "Users", "email", " LastName=""Smith"" " // retrieves
email for first user named SmithrepoObject.GetValue "Users", "email", "" //
retrieves email for first user
ListGroups
Retrieves the list of all group names in the Repository, stored in a JSONStringArray.
Syntax
ListGroups(): JSONStringArray
Example
JavaScript
var repoObject = new ActiveXObject("RepositoryLib.WorkflowRepository");
var myList = JSON.parse(repoObject.ListGroups());
for (var i=0; i<myList.length; i++) {
// Log all group names to the console
Watch.Log(myList[i],2);
}
Sample return value
'["Users","Cart","Orders"]'
ListKeys
Retrieves the list of all Key names and data types in Group GroupName, stored in a JSONStringObject.
You should use JSON.Parse() to convert the string into an actual JavaScript object. You can then use the
for…in construct to list the different properties for that object (i.e. the keys in the group).
Syntax
ListKeys(GroupName: string):JSONStringArray