Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.


Appendix B SSOLite Stored Procedures : Command Procedures : SW_GRAFTCOUNT

SW_GRAFTCOUNT
The SW_GRAFTCOUNT procedure specifies how many items are to be grafted to the specified instance of the graft step.
Syntax
SW_GRAFTCOUNT (
proc_name varchar(8),
proc_maj_ver integer,
proc_min_ver integer,
case_number numeric(20),
graft_step_name varchar(8),
graft_id varchar(49),
graft_count integer)
where:
proc_name is the name of the parent procedure that you want to graft a sub-procedure to.
proc_maj_ver is either the major version number of the proc_name procedure, or -1. See the notes below.
proc_min_ver is either the minor version number of the proc_name procedure, or -1. See the notes below.
case_number is the case number of the main procedure that the sub-procedure is to be grafted to.
graft_step_name is the name of the graft step in the proc_name procedure that the sub-procedure is to be grafted to.
graft_id is a unique identifier for this instance of the graft_step_name graft step.
graft_count is the number of items that are to be grafted to the graft_step_name graft step.
Notes
Instead of using the specific major or minor version number or both of the procedure, you can specify both the proc_maj_ver and proc_min_ver parameters as -1. If you do this, iProcess will use the version number of the procedure that the case was originally started with or, that it has subsequently been migrated to (if a subsequent version has been released while the case is still in progress).
If you specify one version number parameter as -1, you must specify the other one as -1 as well.
For more information bout graft steps and how to use them, see TIBCO iProcess Modeler Integration Techniques.
Example
See SW_GRAFT.

Copyright © Cloud Software Group, Inc. All rights reserved.
Copyright © Cloud Software Group, Inc. All rights reserved.