workflow::state::fsm::get_id (public)
workflow::state::fsm::get_id -workflow_id workflow_id \ -short_name short_name
Defined in packages/workflow/tcl/state-procs.tcl
Return the id of the state with given short name
- Switches:
- -workflow_id (required)
- The id of the workflow the state belongs to.
- -short_name (required)
- The name of the state to return the id for.
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_string select_id {}]XQL Not present: PostgreSQL, Oracle Generic XQL file: <fullquery name="workflow::state::fsm::get_id.select_id"> <querytext> select state_id from workflow_fsm_states where short_name = :short_name and workflow_id = :workflow_id </querytext> </fullquery>packages/workflow/tcl/state-procs.xql