bug_tracker::bug::get_instance_workflow_id (public)

 bug_tracker::bug::get_instance_workflow_id [ -package_id package_id ]

Defined in packages/bug-tracker/tcl/bug-procs.tcl

Return the workflow_id for the package (not instance) workflow

Switches:
-package_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::get_list bug_tracker::bug::get_list (public) bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_list->bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_multirow bug_tracker::bug::get_multirow (public) bug_tracker::bug::get_multirow->bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::instance_workflow_delete bug_tracker::bug::instance_workflow_delete (private) bug_tracker::bug::instance_workflow_delete->bug_tracker::bug::get_instance_workflow_id bug_tracker::get_export_variables bug_tracker::get_export_variables (public) bug_tracker::get_export_variables->bug_tracker::bug::get_instance_workflow_id bug_tracker::get_mapped_bugs bug_tracker::get_mapped_bugs (public) bug_tracker::get_mapped_bugs->bug_tracker::bug::get_instance_workflow_id ad_conn ad_conn (public) bug_tracker::bug::get_instance_workflow_id->ad_conn db_string db_string (public) bug_tracker::bug::get_instance_workflow_id->db_string

Testcases:
No testcase defined.
Source code:
    if { $package_id eq "" } {
        set package_id [ad_conn package_id]
    }
    return [db_string get_instance_workflow_id {}]
Generic XQL file:
<fullquery name="bug_tracker::bug::get_instance_workflow_id.get_instance_workflow_id">
    <querytext>
        select workflow_Id
        from bt_projects
        where project_id = :package_id
    </querytext>
</fullquery>
packages/bug-tracker/tcl/bug-procs.xql

PostgreSQL XQL file:
packages/bug-tracker/tcl/bug-procs-postgresql.xql

Oracle XQL file:
packages/bug-tracker/tcl/bug-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: