workflow::fsm::generate_spec (public)

 workflow::fsm::generate_spec -workflow_id workflow_id \
    [ -workflow_handler workflow_handler ] [ -handlers handlers ]

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

Generate a spec for a workflow in array list style.

Switches:
-workflow_id (required)
The id of the workflow to generate a spec for.
-workflow_handler (optional, defaults to "workflow")
-handlers (optional, defaults to " roles workflow::role actions workflow::action::fsm states workflow::state::fsm ")
Returns:
The spec for the workflow.
Author:
Lars Pind <lars@collaboraid.biz>
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::test::run_bug_tracker_test workflow::test::run_bug_tracker_test (public) workflow::fsm::generate_spec workflow::fsm::generate_spec workflow::test::run_bug_tracker_test->workflow::fsm::generate_spec workflow::generate_spec workflow::generate_spec (public) workflow::fsm::generate_spec->workflow::generate_spec

Testcases:
No testcase defined.
Source code:
    set spec [workflow::generate_spec  -workflow_id $workflow_id  -workflow_handler $workflow_handler  -handlers $handlers]

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