workflow::get (public)

 workflow::get -workflow_id workflow_id -array array

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

Return information about a workflow. Uses util_memoize to cache values from the database.

Switches:
-workflow_id
(required)
ID of workflow
-array
(required)
name of array in which the info will be returned
Returns:
An array list with keys workflow_id, short_name, pretty_name, object_id, package_key, object_type, and callbacks.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 packages/workflow/www/admin/index.tcl packages/workflow/ www/admin/index.tcl workflow::get workflow::get packages/workflow/www/admin/index.tcl->workflow::get packages/workflow/www/admin/workflow-ae.tcl packages/workflow/ www/admin/workflow-ae.tcl packages/workflow/www/admin/workflow-ae.tcl->workflow::get packages/workflow/www/admin/workflow-edit.tcl packages/workflow/ www/admin/workflow-edit.tcl packages/workflow/www/admin/workflow-edit.tcl->workflow::get packages/workflow/www/admin/workflow-meta-edit.tcl packages/workflow/ www/admin/workflow-meta-edit.tcl packages/workflow/www/admin/workflow-meta-edit.tcl->workflow::get workflow::case::action::notify workflow::case::action::notify (public) workflow::case::action::notify->workflow::get util_memoize util_memoize (public) workflow::get->util_memoize workflow::cache_timeout workflow::cache_timeout (private) workflow::get->workflow::cache_timeout workflow::get_not_cached workflow::get_not_cached (private) workflow::get->workflow::get_not_cached

Testcases:
No testcase defined.
Source code:
    # Select the info into the upvar'ed Tcl Array
    upvar $array row

    array set row  [util_memoize [list workflow::get_not_cached -workflow_id $workflow_id] [workflow::cache_timeout]]
Generic XQL file:
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: