xowf::Context proc require (public)
xowf::Contextrequire [ -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
![[i]](/resources/acs-subsite/ZoomIn16.gif)