workflow::case::insert (private)

 workflow::case::insert -workflow_id workflow_id [ -case_id case_id ] \
    -object_id object_id

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

Internal procedure that creates a new workflow case in the database. Should not be used by applications. Use workflow::case::new instead.

Switches:
-workflow_id (required)
The ID of the workflow.
-case_id (optional)
-object_id (required)
The object_id which the case is about
Returns:
The case_id of the case. Returns the empty string if no case could be found.
Author:
Lars Pind <lars@collaboraid.biz>
See Also:

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