workflow::fsm::get_initial_state (public)

 workflow::fsm::get_initial_state -workflow_id workflow_id

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

Get the id of the state that a workflow case is in once it's started (after the initial action is fired).

Switches:
-workflow_id
(required)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::get_mapped_bugs bug_tracker::get_mapped_bugs (public) workflow::fsm::get_initial_state workflow::fsm::get_initial_state bug_tracker::get_mapped_bugs->workflow::fsm::get_initial_state packages/bug-tracker/lib/nav-bar.tcl packages/bug-tracker/ lib/nav-bar.tcl packages/bug-tracker/lib/nav-bar.tcl->workflow::fsm::get_initial_state packages/bug-tracker/www/map-patch-to-bugs.tcl packages/bug-tracker/ www/map-patch-to-bugs.tcl packages/bug-tracker/www/map-patch-to-bugs.tcl->workflow::fsm::get_initial_state workflow::action::fsm::get_element workflow::action::fsm::get_element (public) workflow::fsm::get_initial_state->workflow::action::fsm::get_element workflow::get_element workflow::get_element (public) workflow::fsm::get_initial_state->workflow::get_element

Testcases:
No testcase defined.
Source code:
    set initial_action_id [workflow::get_element  -workflow_id $workflow_id  -element initial_action_id]

    set initial_state [workflow::action::fsm::get_element  -action_id $initial_action_id  -element new_state_id]

    return $initial_state
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: