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):
- 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