workflow::state::fsm::get (public)

 workflow::state::fsm::get -state_id state_id -array array

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

Return workflow_id, sort_order, short_name, and pretty_name for a certain FSM workflow state.

Switches:
-state_id
(required)
-array
(required)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::status_get_options bug_tracker::status_get_options (public) workflow::state::fsm::get workflow::state::fsm::get bug_tracker::status_get_options->workflow::state::fsm::get bug_tracker::status_pretty bug_tracker::status_pretty (public) bug_tracker::status_pretty->workflow::state::fsm::get packages/workflow/www/admin/state-ae.tcl packages/workflow/ www/admin/state-ae.tcl packages/workflow/www/admin/state-ae.tcl->workflow::state::fsm::get packages/workflow/www/admin/workflow-edit.tcl packages/workflow/ www/admin/workflow-edit.tcl packages/workflow/www/admin/workflow-edit.tcl->workflow::state::fsm::get workflow::action::get_all_info_not_cached workflow::action::get_all_info_not_cached (private) workflow::action::get_all_info_not_cached->workflow::state::fsm::get workflow::state::fsm::get_all_info workflow::state::fsm::get_all_info (private) workflow::state::fsm::get->workflow::state::fsm::get_all_info workflow::state::fsm::get_workflow_id workflow::state::fsm::get_workflow_id (public) workflow::state::fsm::get->workflow::state::fsm::get_workflow_id

Testcases:
No testcase defined.
Source code:
    # Select the info into the upvar'ed Tcl Array
    upvar $array row

    set workflow_id [workflow::state::fsm::get_workflow_id -state_id $state_id]
    array set state_data [workflow::state::fsm::get_all_info -workflow_id $workflow_id]

    array set row $state_data($state_id)
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/workflow/tcl/state-procs.xql

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