workflow::action::get_element (public)
workflow::action::get_element [ -action_id action_id ] \ [ -one_id one_id ] -element element
Defined in packages/workflow/tcl/action-procs.tcl
Return a single element from the information about a action.
- Switches:
- -action_id (optional)
- The ID of the action
- -one_id (optional)
- Same as action_id, just used for consistency across roles/actions/states.
- -element (required)
- The element you want
- Returns:
- The element you asked for
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { $action_id eq "" } { if { $one_id eq "" } { error "You must supply either action_id or one_id" } set action_id $one_id } else { if { $one_id ne "" } { error "You can only supply either action_id or one_id" } } get -action_id $action_id -array row return $row($element)Generic XQL file: packages/workflow/tcl/action-procs.xql
PostgreSQL XQL file: packages/workflow/tcl/action-procs-postgresql.xql
Oracle XQL file: packages/workflow/tcl/action-procs-oracle.xql