workflow::action::get_ids (public)
workflow::action::get_ids [ -all ] -workflow_id workflow_id \ [ -parent_action_id parent_action_id ]
Defined in packages/workflow/tcl/action-procs.tcl
Get the action_id's of all the actions in the workflow.
- Switches:
- -all (optional, boolean)
- -workflow_id (required)
- The ID of the workflow
- -parent_action_id (optional)
- Returns:
- list of action_id's.
- Author:
- Lars Pind <lars@collaboraid.biz>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # Use cached data about actions array set action_data [workflow::action::get_all_info -workflow_id $workflow_id] if { $all_p } { return $action_data(action_ids) } set action_ids [list] foreach action_id $action_data(action_ids) { if { [workflow::action::get_element -action_id $action_id -element parent_action_id] == $parent_action_id } { lappend action_ids $action_id } } return $action_idsGeneric 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