workflow::fsm::clone (public)

 workflow::fsm::clone -workflow_id workflow_id \
    [ -package_key package_key ] [ -object_id object_id ] \
    [ -array array ]

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

Clones an existing FSM workflow. The clone must belong to either a package key or an object id.

Switches:
-workflow_id (required)
-package_key (optional)
A package to which this workflow belongs
-object_id (optional)
The id of an ACS Object indicating the scope the workflow. Typically this will be the id of a package type or a package instance but it could also be some other type of ACS object within a package, for example the id of a bug in the Bug Tracker application.
-array (optional)
The name of an array in the caller's namespace. Values in this array will override workflow attributes of the workflow being cloned.
Author:
Lars Pind <lars@collaboraid.biz>
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::instance_workflow_create bug_tracker::bug::instance_workflow_create (private) workflow::fsm::clone workflow::fsm::clone bug_tracker::bug::instance_workflow_create->workflow::fsm::clone packages/workflow/www/admin/workflow-clone.tcl packages/workflow/ www/admin/workflow-clone.tcl packages/workflow/www/admin/workflow-clone.tcl->workflow::fsm::clone workflow::clone workflow::clone (public) workflow::fsm::clone->workflow::clone

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