xowf::Context proc require (public)

 xowf::Context[i] require [ -new ] obj

Defined in /var/www/openacs/packages/xowf/tcl/xowf-procs.tcl

Create the workflow context for an object if needed.

Switches:
-new (optional, defaults to "false")
Discard an existing context and create a fresh one.
Parameters:
obj (required)
Workflow object.
Returns:
The initialized workflow context, or the existing context.

Testcases:
create_workflow_with_instance
[ show source ]
Show another procedure: