workflow::exists_p (public)

 workflow::exists_p -workflow_id workflow_id

Defined in packages/workflow/tcl/workflow-procs.tcl

Return 1 if the workflow with given id exists and 0 otherwise. This proc is currently not cached.

Switches:
-workflow_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_string db_string (public) workflow::exists_p workflow::exists_p workflow::exists_p->db_string

Testcases:
No testcase defined.
Source code:
    return [db_string do_select {}
Generic XQL file:
<fullquery name="workflow::exists_p.do_select">
    <querytext>
        select count(*) from workflows where workflow_id = :workflow_id
    </querytext>
</fullquery>
packages/workflow/tcl/workflow-procs.xql

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

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

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