workflow::get_id (public)
workflow::get_id [ -package_key package_key ] [ -object_id object_id ] \ -short_name short_name
Defined in packages/workflow/tcl/workflow-procs.tcl
Get workflow_id by short_name and object_id. Provide either package_key or object_id.
- Switches:
- -package_key (optional)
- The key of the package workflow belongs to.
- -object_id (optional)
- The ID of the object the workflow's for (typically a package instance)
- -short_name (required)
- the short name of the workflow you want
- Returns:
- The id of the workflow or the empty string if no workflow was found.
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set workflow_id [util_memoize [list workflow::get_id_not_cached -package_key $package_key -object_id $object_id -short_name $short_name] [workflow::cache_timeout]] return $workflow_idGeneric 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