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>

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