8.5
Table Of Contents
- Table of Contents
- Welcome to PReS Workflow 8.5
- System Requirements
- Basics
- Features
- The Nature of PReS 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
Examples
JavaScript
var repoObject = new ActiveXObject("RepositoryLib.WorkflowRepository");
var myList = JSON.parse(repoObject.ListKeys("Internal"));
for (var Property in myList) {
// Log all key names for group Users to the console
Watch.Log(Property,2);
}
Sample return value
'{"ID": "meta", "FirstName": "string", "LastName": "string", "email": "string", "DateC": "meta", "DateM":
"meta"}'
As shown in the sample, the value associated with each key name is actually the data type for that key. Only
two values are currently possible: string and meta, where meta denotes an internally generated key.
RemoveGroup
Deletes the group named GroupName, along with all its keysets and keys.
Syntax
RemoveGroup(GroupName: string)
Examples
JavaScript
repoObject.RemoveGroup("Users");
VB Script
repoObject.RemoveGroup "Users"
RemoveKey
Removes existing key KeyName from group GroupName. The key to remove must exist in the group,
otherwise an error is raised. All values for the key, in all keysets for the group, are removed. Note that when
the Group contains a large number of KeySets, this operation may take a while.