workflow::case::new (public)

 workflow::case::new [ -no_notification ] -workflow_id workflow_id \
    [ -case_id case_id ] [ -object_id object_id ] [ -comment comment ] \
    [ -comment_mime_type comment_mime_type ] [ -user_id user_id ] \
    [ -assignment assignment ] [ -package_id package_id ] \
    [ -initial_action_id initial_action_id ]

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

Start a new case for this workflow and object.

Switches:
-no_notification (optional, boolean)
-workflow_id (required)
The ID of the workflow for the case.
-case_id (optional)
-object_id (optional)
The object_id which the case is about
-comment (optional)
-comment_mime_type (optional)
text/html, text/plain, text/pre, text/enhanced.
-user_id (optional)
-assignment (optional)
Array-list of role_short_name and list of party_ids to assign to roles before starting.
-package_id (optional)
-initial_action_id (optional)
Returns:
The case_id of the case.
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::new bug_tracker::bug::new (public) workflow::case::new workflow::case::new bug_tracker::bug::new->workflow::case::new workflow::test::case_setup workflow::test::case_setup (public) workflow::test::case_setup->workflow::case::new ad_conn ad_conn (public) workflow::case::new->ad_conn db_transaction db_transaction (public) workflow::case::new->db_transaction workflow::action::fsm::edit workflow::action::fsm::edit (public) workflow::case::new->workflow::action::fsm::edit workflow::action::fsm::get workflow::action::fsm::get (public) workflow::case::new->workflow::action::fsm::get workflow::case::action::execute workflow::case::action::execute (public) workflow::case::new->workflow::case::action::execute

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