workflow::action::get_id (public)
workflow::action::get_id -workflow_id workflow_id \ -short_name short_name
Defined in packages/workflow/tcl/action-procs.tcl
Return the action_id of the action with the given short_name in the given workflow.
- Switches:
- -workflow_id (required)
- The ID of the workflow
- -short_name (required)
- The short_name of the action
- Returns:
- action_id of the desired action, or the empty string if it can't be found.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: workflow::action::refresh_request_cache $workflow_id global __workflow_action_data,${workflow_id} foreach action_id [set __workflow_action_data,${workflow_id}(action_ids)] { array set one_action [set __workflow_action_data,${workflow_id}($action_id)] if {$one_action(short_name) eq $short_name} { return $action_id } } error "workflow::action::get_id: Action with short_name $short_name not found for workflow $workflow_id"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