workflow::generate_spec (public)

 workflow::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. Note that calling this directly with the default arguments will bomb, because workflow::action doesn't implement the required API.

Switches:
-workflow_id
(required)
The id of the workflow to generate a spec for.
-workflow_handler
(defaults to "workflow") (optional)
-handlers
(defaults to " roles workflow::role actions workflow::action ") (optional)
An array-list with Tcl namespaces where handlers for various elements are defined. The keys are identical to the keys in the spec, and the namespaces are where the procs to handle them are defined.
Returns:
The spec for the workflow.
Author:
Lars Pind <lars@collaboraid.biz>
See Also:

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

Testcases:
No testcase defined.
[ show source ]
Show another procedure: