modInsertObjects
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Registers an object in the modObjects table. Exists in the workflow-enabled database.
[@Name =] 'name',
[@Type =] 'type',
[@ParentID =] 'parentid',
[@PermissionID =] 'perm',
[@Script =] 'script',
[@ProgID =] 'progid',
[@Caption =] 'caption'
Parameters
- [@Name =] 'name'
Name of the object. - [@Type =] 'type'
Object type. - [@ParentID =] 'id'
ID of the parent table (for detail tables). - [@PermissionID =] 'perm'
1 if the table should be enabled for row-level permissions; otherwise, 0. This parameter is the master switch for row-level permissions support. - [@Script =] 'script'
For workflow tables. 1 if the table uses script code for workflow events. 0 if it uses procedures compiled in a COM library. - [@ProgID =] 'progid'
If script = 1, the progId of the scripting engine; if script = 0, is the progId of the class that implements the workflow events for this table. - [@Caption =] caption
Description of the registered table.
Example
The following example registers the IssuesWorkflow workflow table:
EXEC modInsertObjects 'IssuesWorkflow', 'WF', 1, 0, 1, 'VBScript', 'Workflow definition for issues'
See Also
Stored Procedures | Workflow Application Infrastructure | ModSystem Database Tables | Workflow-Enabled Database Tables | Views