workflow::fsm::get_states (public)

 workflow::fsm::get_states [ -all ] -workflow_id workflow_id \
    [ -parent_action_id parent_action_id ]

Defined in packages/workflow/tcl/workflow-procs.tcl

Get the state_id's of all the states in the workflow.

Switches:
-all (optional, boolean)
-workflow_id (required)
The ID of the workflow
-parent_action_id (optional)
Returns:
list of state_id's.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::status_get_options bug_tracker::status_get_options (public) workflow::fsm::get_states workflow::fsm::get_states bug_tracker::status_get_options->workflow::fsm::get_states workflow::action::get_all_info_not_cached workflow::action::get_all_info_not_cached (private) workflow::action::get_all_info_not_cached->workflow::fsm::get_states workflow::case::new workflow::case::new (public) workflow::case::new->workflow::fsm::get_states workflow::graph::draw workflow::graph::draw (public) workflow::graph::draw->workflow::fsm::get_states workflow::state::fsm::generate_states_spec workflow::state::fsm::generate_states_spec (private) workflow::state::fsm::generate_states_spec->workflow::fsm::get_states workflow::state::fsm::get_ids workflow::state::fsm::get_ids (private) workflow::fsm::get_states->workflow::state::fsm::get_ids

Testcases:
No testcase defined.
Source code:
    return [workflow::state::fsm::get_ids -all=$all_p -workflow_id $workflow_id -parent_action_id $parent_action_id]
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

[ hide source ] | [ make this the default ]
Show another procedure: