workflow::delete (public)

 workflow::delete -workflow_id workflow_id

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

Delete a generic workflow and all data attached to it (states, actions etc.).

Switches:
-workflow_id (required)
The id of the workflow to delete.
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::instance_workflow_delete bug_tracker::bug::instance_workflow_delete (private) workflow::delete workflow::delete bug_tracker::bug::instance_workflow_delete->workflow::delete bug_tracker::bug::workflow_delete bug_tracker::bug::workflow_delete (private) bug_tracker::bug::workflow_delete->workflow::delete packages/workflow/www/admin/delete-confirm.tcl packages/workflow/ www/admin/delete-confirm.tcl packages/workflow/www/admin/delete-confirm.tcl->workflow::delete workflow::edit workflow::edit (public) workflow::edit->workflow::delete workflow::test::workflow_teardown workflow::test::workflow_teardown (public) workflow::test::workflow_teardown->workflow::delete db_exec_plsql db_exec_plsql (public) workflow::delete->db_exec_plsql workflow::flush_cache workflow::flush_cache (private) workflow::delete->workflow::flush_cache

Testcases:
No testcase defined.
Source code:
    workflow::flush_cache -workflow_id $workflow_id

    return [db_exec_plsql do_delete {}]
Generic XQL file:
packages/workflow/tcl/workflow-procs.xql

PostgreSQL XQL file:
<fullquery name="workflow::delete.do_delete">
    <querytext>
        select workflow__delete(:workflow_id);
    </querytext>
</fullquery>
packages/workflow/tcl/workflow-procs-postgresql.xql

Oracle XQL file:
<fullquery name="workflow::delete.do_delete">
    <querytext>
        begin
            :1 := workflow.del(:workflow_id);
        end;
    </querytext>
</fullquery>
packages/workflow/tcl/workflow-procs-oracle.xql

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