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
newName.
Syntax
RenameKey(GroupName: string, oldName: string, newName: string)
Examples
JavaScript
repoObject.RenameKey("Users", "LastName", "SurName");
VB Script
repoObject.RenameGroup "Users", "LastName", "SurName"
SetValue
Updates multiple keysets in group GroupName by setting the key KeyName to Value for all keysets that
match Condition. The condition is specified using basic SQL WHERE syntax. The Condition may be left
empty in which case all keysets in GroupName are updated. Note that KeyName must exist in GroupName,
otherwise an error is raised. The method returns an array of the keyset ID's that were updated ([1,2] ), or an
empty array ([] ) if no keysets were updated.
Syntax
SetValue(GroupName: string, KeyName: string, Value: string, Condition:
string): string
Examples
JavaScript
repoObject.SetValue("Users", "FormOfAddress", "Mr.", "Gender='M'" );
repoObject.SetValue("Users", "FormOfAddress", "Ms.", "Gender='F' AND
MaritalStatus='Married'" );
repoObject.SetValue("Users", "FormOfAddress", "Miss", "Gender='F' AND
MaritalStatus=''" );
VB Script
repoObject.SetValue "Users", "FormOfAddress", "Mr.", " Gender=""M"" "
repoObject.SetValue "Users", "FormOfAddress", "Ms.", " Gender=""F"" AND